aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorCory Maccarrone <[email protected]>2009-12-12 17:54:02 -0800
committerBen Dooks <[email protected]>2010-03-07 22:18:17 +0000
commitd84d3ea317ce0db89ce0903b4037f800c5d4c477 (patch)
tree1804a752e9d56afffdc64ea54c4b02baca7771a2 /net/lapb/lapb_in.c
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 <[email protected]> Acked-by: Tony Lindgren <[email protected]> Signed-off-by: Ben Dooks <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions