OSDN Git Service

i2c: omap: bus: add a receiver flag
authorFelipe Balbi <balbi@ti.com>
Wed, 12 Sep 2012 10:58:06 +0000 (16:28 +0530)
committerWolfram Sang <w.sang@pengutronix.de>
Wed, 12 Sep 2012 13:03:05 +0000 (15:03 +0200)
commit079d8af24b948261e1dae5d7df6b31b7bf205cb4
tree9bb045ecb6e9812917cb92bcc78ddad01d09b4bb
parentac79e4b24972c69debef90a5e16b145e59222388
i2c: omap: bus: add a receiver flag

that way we can ignore TX IRQs while in receiver
mode and ignore RX IRQs while in transmitter mode.

Signed-off-by: Felipe Balbi <balbi@ti.com>
[Remove unnecessary braces]
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-omap.c