Skip to content
Commit bfb6b658 authored by Sonasath, Moiz's avatar Sonasath, Moiz Committed by Ben Dooks
Browse files

i2c-omap: Bug in reading the RXSTAT/TXSTAT values from the I2C_BUFFSTAT register



Fix bug in reading the I2C_BUFFSTAT register for getting byte count on RX/TX interrupt.

On Interrupt: I2C_STAT[RDR],
	read 'RXSTAT' from I2C_BUFFSTAT[8-13]
On Interrupt: I2C_STAT[XDR]
	read 'TXSTAT' from I2C_BUFFSTAT[0-5]

Signed-off-by: default avatarJagadeesh Pakaravoor <j-pakaravoor@ti.com>
Signed-off-by: default avatarMoiz Sonasath <m-sonasath@ti.com>
Signed-off-by: default avatarVikram pandita <vikram.pandita@ti.com>
[ben-linux@fluff.org: fixed mail format and added i2c-omap to subject]
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent ccb3bc16
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment