mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
video: mb862xx-i2c: fix for reliable decoder register access
Increase delay when polling for tx status. This fixes the unreliable video decoder i2c register access. Signed-off-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
This commit is contained in:
parent
43dcd13b9a
commit
363d58f507
@ -23,7 +23,7 @@ static int mb862xx_i2c_wait_event(struct i2c_adapter *adap)
|
||||
u32 reg;
|
||||
|
||||
do {
|
||||
udelay(1);
|
||||
udelay(10);
|
||||
reg = inreg(i2c, GC_I2C_BCR);
|
||||
if (reg & (I2C_INT | I2C_BER))
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user