Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 363d58f5 authored by Anatolij Gustschin's avatar Anatolij Gustschin Committed by Florian Tobias Schandinat
Browse files

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: default avatarAnatolij Gustschin <agust@denx.de>
Signed-off-by: default avatarFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
parent 43dcd13b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -23,7 +23,7 @@ static int mb862xx_i2c_wait_event(struct i2c_adapter *adap)
	u32 reg;
	u32 reg;


	do {
	do {
		udelay(1);
		udelay(10);
		reg = inreg(i2c, GC_I2C_BCR);
		reg = inreg(i2c, GC_I2C_BCR);
		if (reg & (I2C_INT | I2C_BER))
		if (reg & (I2C_INT | I2C_BER))
			break;
			break;