]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: Fix pca953x endianess issue
authorDirk Eibach <dirk.eibach@gdsys.cc>
Thu, 29 Oct 2015 12:51:27 +0000 (13:51 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 12 Nov 2015 23:04:12 +0000 (18:04 -0500)
commitdaa75b34828d45b7c1d63009188d45f4a32d06ba
treef193191fbaee4702c134d1c8a7a0567e14e0bf5e
parent37b33254c2cf6e47f2aaf40946ed6c98ba1057ed
i2c: Fix pca953x endianess issue

By reading 2 consecutive bytes from i2c to an u16 value
we have an endianess issue.

Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
drivers/gpio/pca953x.c