Re: [PATCH] iio: proximity: aw96103: fix firmware read on big-endian
From: Andy Shevchenko
Date: Mon Mar 16 2026 - 06:16:42 EST
On Sat, Mar 14, 2026 at 06:20:12PM -0500, David Lechner wrote:
> Use get_unaligned_le32() instead of casting to int * to make sure that
> reading a 32-bit int value from the firmware binary works correctly on
> big-endian architectures.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
--
With Best Regards,
Andy Shevchenko