i2c-omap: clear ARDY twice
This implements the fix from the kernel commit 4cdbf7d346e7461c3b93a26707c852e2c9db3753. Signed-off-by: Jan Luebbe <jluebbe@debian.org>
This commit is contained in:
parent
21203581e7
commit
96617c5ef3
|
@ -673,6 +673,10 @@ omap_i2c_isr(struct omap_i2c_struct *dev)
|
|||
/*
|
||||
* ProDB0017052: Clear ARDY bit twice
|
||||
*/
|
||||
if (stat & OMAP_I2C_STAT_ARDY)
|
||||
omap_i2c_ack_stat(dev, OMAP_I2C_STAT_ARDY);
|
||||
|
||||
|
||||
if (stat & (OMAP_I2C_STAT_ARDY | OMAP_I2C_STAT_NACK |
|
||||
OMAP_I2C_STAT_AL)) {
|
||||
omap_i2c_ack_stat(dev, (OMAP_I2C_STAT_RRDY |
|
||||
|
|
Loading…
Reference in New Issue