diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-04-22 13:46:06 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:07:52 -0400 |
commit | 5555309c9adcf9bb7f6b449ef45b09d5c26ef4ae (patch) | |
tree | 43cde0dd327dffe23bcbaf9612e64299566f7485 /drivers/media/dvb/frontends/tda18271-fe.c | |
parent | ab8b870e430d3e2cfb299f81e0ae0aef7fe5bfda (diff) |
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 b5d69a8108d9..bb0a65310b71 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, | |||
1081 | 1081 | ||
1082 | fe->tuner_priv = priv; | 1082 | fe->tuner_priv = priv; |
1083 | 1083 | ||
1084 | if (cfg) | ||
1085 | priv->small_i2c = cfg->small_i2c; | ||
1086 | |||
1084 | if (tda18271_get_id(fe) < 0) | 1087 | if (tda18271_get_id(fe) < 0) |
1085 | goto fail; | 1088 | goto fail; |
1086 | 1089 | ||