i2c-omap: ACK pending [R/X]DR and [R/X]RDY interrupts
authorMoiz Sonasath <m-sonasath@ti.com>
Thu, 20 Aug 2009 16:21:15 +0000 (11:21 -0500)
committerBen Dooks <ben-linux@fluff.org>
Thu, 20 Aug 2009 21:27:57 +0000 (22:27 +0100)
commitdd11976aea15bde53ce40b076dd5fa462c74f41a
tree86c7ce71b01f533092de89f9d2375f8d69afa3c5
parentdcc4ec26942d3bae2c5a82ab8346ab53b540a171
i2c-omap: ACK pending [R/X]DR and [R/X]RDY interrupts

ACK any pending read/write interrupts before exiting the ISR either after
completing the operation [ARDY interrupt] or in case of an error
[NACK|AL interrupt]

Signed-off-by: Moiz Sonasath <m-sonasath@ti.com>
Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-omap.c