summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorCory Maccarrone <darkstar6262@gmail.com>2009-12-12 17:54:02 -0800
committerBen Dooks <ben-linux@fluff.org>2010-03-07 22:18:17 +0000
commitd84d3ea317ce0db89ce0903b4037f800c5d4c477 (patch)
tree1804a752e9d56afffdc64ea54c4b02baca7771a2 /security
parent96eb7164e3c2f8c1b53118078e5c06f7c34c2d49 (diff)
i2c: omap: Add support for 16-bit registers
The current i2c-omap driver is set up for 32-bit registers, which corresponds to most OMAP devices. However, OMAP730/850 based devices use a 16-bit register size. This change modifies the driver to perform a runtime CPU type check to determine the register sizes, and uses a bit shift of either 1 or 2 bits to compute the proper register sizes for all registers. Signed-off-by: Cory Maccarrone <darkstar6262@gmail.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions