diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-04-22 14:46:06 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 14:07:52 -0300 |
commit | 5555309c9adcf9bb7f6b449ef45b09d5c26ef4ae (patch) | |
tree | 43cde0dd327dffe23bcbaf9612e64299566f7485 /drivers/media/dvb/frontends/tda18271-fe.c | |
parent | ab8b870e430d3e2cfb299f81e0ae0aef7fe5bfda (diff) | |
download | op-kernel-dev-5555309c9adcf9bb7f6b449ef45b09d5c26ef4ae.zip op-kernel-dev-5555309c9adcf9bb7f6b449ef45b09d5c26ef4ae.tar.gz |
V4L/DVB (7383): tda18271: add attach-time parameter to limit i2c transfer size
Add attach-time parameter, "small_i2c" to limit i2c transfer size to write
at most 16 registers at a time during initialization.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/tda18271-fe.c')
-rw-r--r-- | drivers/media/dvb/frontends/tda18271-fe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/tda18271-fe.c b/drivers/media/dvb/frontends/tda18271-fe.c index b5d69a8..bb0a653 100644 --- a/drivers/media/dvb/frontends/tda18271-fe.c +++ b/drivers/media/dvb/frontends/tda18271-fe.c @@ -1081,6 +1081,9 @@ struct dvb_frontend *tda18271_attach(struct dvb_frontend *fe, u8 addr, fe->tuner_priv = priv; + if (cfg) + priv->small_i2c = cfg->small_i2c; + if (tda18271_get_id(fe) < 0) goto fail; |