]> git.dujemihanovic.xyz Git - u-boot.git/commit
misc: atsha204a: Fix big endian support
authorPali Rohár <pali@kernel.org>
Sat, 2 Apr 2022 22:36:34 +0000 (00:36 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 14 Apr 2022 19:39:14 +0000 (15:39 -0400)
commitaecb338163e2fe55e32d3e2039af737a8bfaaa19
tree5c0baf3f393950dd5b073de49fa740ea5a5e05a6
parente9598cfb283b4df080976c73493eff4b5fd62791
misc: atsha204a: Fix big endian support

Callers of function atsha204a_crc16() expect to return value in host cpu
endianity. So remove cpu_to_le16() conversion.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
drivers/misc/atsha204a-i2c.c