]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i2c-designware: Allow mixed endianness accesses
authorJean-Hugues Deschenes <jean-hugues.deschenes@octasic.com>
Thu, 6 Oct 2011 18:26:27 +0000 (11:26 -0700)
committerBen Dooks <ben-linux@fluff.org>
Mon, 10 Oct 2011 23:50:10 +0000 (00:50 +0100)
commit68fceea6f1cdba93a7d1a75380a5fe3f363e42b1
treeae84d2828fbcb77bdd9a8787fbdca1a6f3bd1027
parentc89476e79485ee357dfc393730dca24a9cf6f0c6
i2c-designware: Allow mixed endianness accesses

Allows CPUs of a given endianness to access a dw controller of a different
endianness. Endianncess difference is detected at run time through the dw
component type register.

Signed-off-by: Jean-Hugues Deschenes <jean-hugues.deschenes@octasic.com>
Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-designware.c