projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21340ae
)
V4L/DVB (6113): ivtv: udelay for the i2c bus was set too high
author
Hans Verkuil
<hverkuil@xs4all.nl>
Sun, 26 Aug 2007 13:54:14 +0000
(10:54 -0300)
committer
Mauro 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
patch
|
blob
|
history
diff --git
a/drivers/media/video/ivtv/ivtv-i2c.c
b/drivers/media/video/ivtv/ivtv-i2c.c
index 085dc3938da79107286bf73feec1cfd18c92e08b..285fca676a69a7cd77c68da68ca78bea868dbd97 100644
(file)
--- a/
drivers/media/video/ivtv/ivtv-i2c.c
+++ b/
drivers/media/video/ivtv/ivtv-i2c.c
@@
-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,
};