i2c-designware: Consolidate to use 32-bit word accesses
authorShinya Kuribayashi <shinya.kuribayashi@necel.com>
Fri, 6 Nov 2009 12:43:52 +0000 (21:43 +0900)
committerBen Dooks <ben-linux@fluff.org>
Wed, 9 Dec 2009 00:19:09 +0000 (00:19 +0000)
commited5e1dd5f2daa8a59bc8116888417a6ff96d2ae9
treee68b2585942c67b5f9627b90bbbcb9b1913d8161
parent6035ccd8e9e40bb654fbfdef325902ab531679a5
i2c-designware: Consolidate to use 32-bit word accesses

This driver looks originally meant for armel machines where readw()/
writew() works perfectly fine with this hardware.  But that doens't
work for big-endian systems.

This patch converts all 8/16-bit-aware usages to 32-bit variants.

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Acked-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-designware.c