i2c-omap: Fix I2C status ACK
authorNishanth Menon <nm@ti.com>
Thu, 20 Aug 2009 16:21:14 +0000 (11:21 -0500)
committerBen Dooks <ben-linux@fluff.org>
Thu, 20 Aug 2009 21:27:57 +0000 (22:27 +0100)
commitdcc4ec26942d3bae2c5a82ab8346ab53b540a171
tree5610adf8611c1c34907d55ad3e537da943ec70fd
parent64f1607ffbbc772685733ea63e6f7f4183df1b16
i2c-omap: Fix I2C status ACK

I2C status ack for [RX]RDR and [RX]RDY could
cause race conditions of clearing the event
twice and a violation of the programing
sequence as defined in TRM This patch fixes
the same.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Moiz Sonasath <m-sonasath@ti.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-omap.c