diff options
author | Anatolij Gustschin <agust@denx.de> | 2011-09-01 11:53:41 -0400 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-09-02 13:57:38 -0400 |
commit | 363d58f5071df66cbe57c8a68e8bc84efe91f16e (patch) | |
tree | 91779cc8a7b306530a3e567814581ad037b97976 | |
parent | 43dcd13b9a807ea9e832e4c6b138d825a7b65577 (diff) |
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>
-rw-r--r-- | drivers/video/mb862xx/mb862xx-i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/mb862xx/mb862xx-i2c.c b/drivers/video/mb862xx/mb862xx-i2c.c index b953099edd8e..934081d2b7ae 100644 --- a/drivers/video/mb862xx/mb862xx-i2c.c +++ b/drivers/video/mb862xx/mb862xx-i2c.c | |||
@@ -23,7 +23,7 @@ static int mb862xx_i2c_wait_event(struct i2c_adapter *adap) | |||
23 | u32 reg; | 23 | u32 reg; |
24 | 24 | ||
25 | do { | 25 | do { |
26 | udelay(1); | 26 | udelay(10); |
27 | reg = inreg(i2c, GC_I2C_BCR); | 27 | reg = inreg(i2c, GC_I2C_BCR); |
28 | if (reg & (I2C_INT | I2C_BER)) | 28 | if (reg & (I2C_INT | I2C_BER)) |
29 | break; | 29 | break; |