Re: [PATCH] i2c: amd756: Fix endianness handling for word data
From: Andi Shyti
Date: Sun Dec 29 2024 - 21:03:25 EST
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@xxxxxxxxx>
merged to i2c/i2c-host.
Thanks,
Andi