* [PATCH] video: mb862xx-i2c: fix for reliable decoder register access
@ 2011-09-01 15:53 Anatolij Gustschin
2011-09-02 20:57 ` [PATCH] video: mb862xx-i2c: fix for reliable decoder register Florian Tobias Schandinat
0 siblings, 1 reply; 2+ messages in thread
From: Anatolij Gustschin @ 2011-09-01 15:53 UTC (permalink / raw)
To: linux-fbdev
Increase delay when polling for tx status. This fixes
the unreliable video decoder i2c register access.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
---
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 b953099..934081d 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)
u32 reg;
do {
- udelay(1);
+ udelay(10);
reg = inreg(i2c, GC_I2C_BCR);
if (reg & (I2C_INT | I2C_BER))
break;
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] video: mb862xx-i2c: fix for reliable decoder register
2011-09-01 15:53 [PATCH] video: mb862xx-i2c: fix for reliable decoder register access Anatolij Gustschin
@ 2011-09-02 20:57 ` Florian Tobias Schandinat
0 siblings, 0 replies; 2+ messages in thread
From: Florian Tobias Schandinat @ 2011-09-02 20:57 UTC (permalink / raw)
To: linux-fbdev
On 09/01/2011 03:53 PM, Anatolij Gustschin wrote:
> Increase delay when polling for tx status. This fixes
> the unreliable video decoder i2c register access.
>
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
Looks good to me, applied.
Thanks,
Florian Tobias Schandinat
> ---
> 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 b953099..934081d 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)
> u32 reg;
>
> do {
> - udelay(1);
> + udelay(10);
> reg = inreg(i2c, GC_I2C_BCR);
> if (reg & (I2C_INT | I2C_BER))
> break;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-09-02 20:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-01 15:53 [PATCH] video: mb862xx-i2c: fix for reliable decoder register access Anatolij Gustschin
2011-09-02 20:57 ` [PATCH] video: mb862xx-i2c: fix for reliable decoder register Florian Tobias Schandinat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).