Skip to content

Commit

Permalink
video: mb862xx-i2c: fix for reliable decoder register access
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Anatolij Gustschin authored and Florian Tobias Schandinat committed Sep 2, 2011
1 parent 43dcd13 commit 363d58f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/mb862xx/mb862xx-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 363d58f

Please sign in to comment.