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>
Sat, 29 Oct 2011 10:00:51 +0000 (11:00 +0100)
commit18c4089e6cd6b3052895481628f478ba8351ac00
treec7611bc19e59e1b0a35c96b1ae2c23fd60d470bf
parent4ff895bc8b90e30ff8e89ca7bc6666b229c77e5d
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