]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6954e79eff437e748cc56f81ccad03379cafd68c
treed8848fe19d195f8fcb0f5a543d8e98cecbae0f25
parent94f8f07f1fb74f71207d4c0ebc9ed0e433cc3224
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