summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorHartmut Hackmann <devnull@localhost>2005-07-21 21:12:02 +0000
committerHartmut Hackmann <devnull@localhost>2005-07-21 21:12:02 +0000
commite795952bd5e338970136cac1cc561f217c240314 (patch)
treec05e88f339f28169ff7392d6b5c5f9998dd99567 /linux/drivers/media/video
parent5ca8fcce52f23065061d03cbbcd35f6d3b0a66c2 (diff)
downloadmediapointer-dvb-s2-e795952bd5e338970136cac1cc561f217c240314.tar.gz
mediapointer-dvb-s2-e795952bd5e338970136cac1cc561f217c240314.tar.bz2
Ensure a sufficient I2C bus idle time between 2 messages
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t.online.de>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-i2c.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-i2c.c b/linux/drivers/media/video/saa7134/saa7134-i2c.c
index 5dab26242..79df39b0f 100644
--- a/linux/drivers/media/video/saa7134/saa7134-i2c.c
+++ b/linux/drivers/media/video/saa7134/saa7134-i2c.c
@@ -1,5 +1,5 @@
/*
- * $Id: saa7134-i2c.c,v 1.20 2005/07/15 21:44:14 mchehab Exp $
+ * $Id: saa7134-i2c.c,v 1.21 2005/07/21 21:12:02 hhackmann Exp $
*
* device driver for philips saa7134 based TV cards
* i2c interface support
@@ -306,6 +306,8 @@ static int saa7134_i2c_xfer(struct i2c_adapter *i2c_adap,
status = i2c_get_status(dev);
if (i2c_is_error(status))
goto err;
+ /* ensure that the bus is idle for at least one bit slot */
+ msleep(1);
d1printk("\n");
return num;