]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
video: mb862xx-i2c: fix for reliable decoder register access
authorAnatolij Gustschin <agust@denx.de>
Thu, 1 Sep 2011 15:53:41 +0000 (17:53 +0200)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Fri, 2 Sep 2011 17:57:38 +0000 (17:57 +0000)
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>
drivers/video/mb862xx/mb862xx-i2c.c

index b953099edd8eb491850fdd4ca65e6c9b3789cd39..934081d2b7ae7f199e7631e98a46025bb2e0e5c2 100644 (file)
@@ -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;