diff options
author | Devin Heitmueller <dheitmueller@kernellabs.com> | 2012-08-06 22:47:10 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-09 20:57:39 -0300 |
commit | 21dc61d3c0a4c0ee11e3e4a4e4888d4c71875b6d (patch) | |
tree | 7dbb8c954ce612761befc6ed00e828f6898d886a /drivers/media/video/au0828/au0828-reg.h | |
parent | 22d5c6f585352566ab4161d9aa7936100f94af05 (diff) | |
download | linux-21dc61d3c0a4c0ee11e3e4a4e4888d4c71875b6d.tar.gz linux-21dc61d3c0a4c0ee11e3e4a4e4888d4c71875b6d.tar.bz2 linux-21dc61d3c0a4c0ee11e3e4a4e4888d4c71875b6d.zip |
[media] au0828: tweak workaround for i2c clock stretching bug
The hack I put in a couple of years ago to avoid clock stretching issues
when talking to the xc5000 worked fine for writes, but intermittently
fails for register reads, because the xc5000 may stretch the clock for
longer between bytes (I was seeing cases of 21 us on the analyzer).
The problem manifested itself as the xc5000 firmware version and PLL
lock register intermittently showing garbage values.
Slow down the i2c bus from 30 KHz to 20 KHz to accommodate.
Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/au0828/au0828-reg.h')
-rw-r--r-- | drivers/media/video/au0828/au0828-reg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/au0828/au0828-reg.h b/drivers/media/video/au0828/au0828-reg.h index c39f3d2b721e..2140f4cfb645 100644 --- a/drivers/media/video/au0828/au0828-reg.h +++ b/drivers/media/video/au0828/au0828-reg.h @@ -63,3 +63,4 @@ #define AU0828_I2C_CLK_250KHZ 0x07 #define AU0828_I2C_CLK_100KHZ 0x14 #define AU0828_I2C_CLK_30KHZ 0x40 +#define AU0828_I2C_CLK_20KHZ 0x60 |