aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/ivtv/ivtv-i2c.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/ivtv/ivtv-i2c.c b/drivers/media/video/ivtv/ivtv-i2c.c
index 77b27dc750b1..44678fe27a04 100644
--- 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)
718 sizeof(struct i2c_adapter)); 718 sizeof(struct i2c_adapter));
719 memcpy(&itv->i2c_algo, &ivtv_i2c_algo_template, 719 memcpy(&itv->i2c_algo, &ivtv_i2c_algo_template,
720 sizeof(struct i2c_algo_bit_data)); 720 sizeof(struct i2c_algo_bit_data));
721 /* The mspx4xx chips need a longer delay for some reason */
722 if (itv->hw_flags & IVTV_HW_MSP34XX)
723 itv->i2c_algo.udelay = 10;
721 itv->i2c_algo.data = itv; 724 itv->i2c_algo.data = itv;
722 itv->i2c_adap.algo_data = &itv->i2c_algo; 725 itv->i2c_adap.algo_data = &itv->i2c_algo;
723 } 726 }