]> err.no Git - linux-2.6/commitdiff
V4L/DVB (6113): ivtv: udelay for the i2c bus was set too high
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 26 Aug 2007 13:54:14 +0000 (10:54 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:07:12 +0000 (22:07 -0300)
An udelay of 5 is sufficient for standard speed i2c busses, 10 make it
too slow.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-i2c.c

index 085dc3938da79107286bf73feec1cfd18c92e08b..285fca676a69a7cd77c68da68ca78bea868dbd97 100644 (file)
@@ -541,7 +541,7 @@ static const struct i2c_algo_bit_data ivtv_i2c_algo_template = {
        .setscl         = ivtv_setscl_old,
        .getsda         = ivtv_getsda_old,
        .getscl         = ivtv_getscl_old,
-       .udelay         = 10,
+       .udelay         = 5,
        .timeout        = 200,
 };