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.h | |
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.h')
-rw-r--r-- | drivers/media/dvb/frontends/tda18271.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/tda18271.h b/drivers/media/dvb/frontends/tda18271.h index 24b0e35a2ab3..e79441e22718 100644 --- a/drivers/media/dvb/frontends/tda18271.h +++ b/drivers/media/dvb/frontends/tda18271.h | |||
@@ -58,6 +58,9 @@ struct tda18271_config { | |||
58 | 58 | ||
59 | /* use i2c gate provided by analog or digital demod */ | 59 | /* use i2c gate provided by analog or digital demod */ |
60 | enum tda18271_i2c_gate gate; | 60 | enum tda18271_i2c_gate gate; |
61 | |||
62 | /* some i2c providers cant write all 39 registers at once */ | ||
63 | unsigned int small_i2c:1; | ||
61 | }; | 64 | }; |
62 | 65 | ||
63 | #if defined(CONFIG_DVB_TDA18271) || (defined(CONFIG_DVB_TDA18271_MODULE) && defined(MODULE)) | 66 | #if defined(CONFIG_DVB_TDA18271) || (defined(CONFIG_DVB_TDA18271_MODULE) && defined(MODULE)) |