i2c: omap: improve i462 errata handling
authorFelipe Balbi <balbi@ti.com>
Wed, 12 Sep 2012 10:58:01 +0000 (16:28 +0530)
committerWolfram Sang <w.sang@pengutronix.de>
Wed, 12 Sep 2012 13:02:28 +0000 (15:02 +0200)
commit4151e74177b68c40079d8fe98f2fda4b9792a998
treed8848fe19d195f8fcb0f5a543d8e98cecbae0f25
parent6d9939f651419a63e091105663821f9c7d3fec37
i2c: omap: improve i462 errata handling

Make it not depend on ISR's local variables
in order to make it easier to re-factor the
transmit data loop.
Also since we are waiting for XUDF(Transmitter underflow) just before
writing data lets not flag the underflow.
This is anyways going to go once we write
the data.

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