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 085dc39..285fca6 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,
 };