diff options
author | Cory Maccarrone <darkstar6262@gmail.com> | 2009-12-12 17:54:02 -0800 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-03-07 22:18:17 +0000 |
commit | d84d3ea317ce0db89ce0903b4037f800c5d4c477 (patch) | |
tree | 1804a752e9d56afffdc64ea54c4b02baca7771a2 /fs/namei.c | |
parent | 96eb7164e3c2f8c1b53118078e5c06f7c34c2d49 (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 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions