Re: [PATCH] i2c: amd756: Fix endianness handling for word data

Andi Shyti
2024-12-30T02:03:18Z

Hi Atharva,

On Fri, Dec 27, 2024 at 06:52:49PM +0530, Atharva Tiwari wrote:
> Ensure correct handling of "endianness"
> for word-sized data in amd756_access
>
> - Convert word data into little-endian using cpu_to_le16
> - Convert word data from little-endian
> to cpu native format using le16_to_cpu
>
> This fixes poteential issues on big-endian systems and
> ensure proper byte ordering for SMBus word transacitions
>
> Signed-off-by: Atharva Tiwari <evepolonium@gmail.com>

merged to i2c/i2c-host.

Thanks,
Andi