projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
867fee9
)
V4L/DVB (6876): ivtv: mspx4xx needs a longer i2c udelay
author
Hans Verkuil
<hverkuil@xs4all.nl>
Fri, 21 Dec 2007 09:35:55 +0000
(06:35 -0300)
committer
Mauro Carvalho Chehab
<mchehab@infradead.org>
Mon, 24 Dec 2007 10:07:36 +0000
(08:07 -0200)
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 77b27dc750b1bc9ef5592cbbad1a4e76cb7b2edd..44678fe27a04397575f51bf6183d99d18f9d4777 100644
(file)
--- a/
drivers/media/video/ivtv/ivtv-i2c.c
+++ b/
drivers/media/video/ivtv/ivtv-i2c.c
@@
-718,6
+718,9
@@
int init_ivtv_i2c(struct ivtv *itv)
sizeof(struct i2c_adapter));
memcpy(&itv->i2c_algo, &ivtv_i2c_algo_template,
sizeof(struct i2c_algo_bit_data));
+ /* The mspx4xx chips need a longer delay for some reason */
+ if (itv->hw_flags & IVTV_HW_MSP34XX)
+ itv->i2c_algo.udelay = 10;
itv->i2c_algo.data = itv;
itv->i2c_adap.algo_data = &itv->i2c_algo;
}