diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-03-16 00:13:09 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2008-03-16 00:13:09 -0400 |
commit | eb7c9b051872740cb59da357e90b5dae2d67ac12 (patch) | |
tree | b605917607b73ea856b457a62c3d9f2ad770c3d3 /linux/drivers/media/dvb/frontends/tda18271.h | |
parent | cafc731a90a72a074c05cf2d7e4a67f3fa596b76 (diff) | |
download | mediapointer-dvb-s2-eb7c9b051872740cb59da357e90b5dae2d67ac12.tar.gz mediapointer-dvb-s2-eb7c9b051872740cb59da357e90b5dae2d67ac12.tar.bz2 |
tda18271: add attach-time parameter to limit i2c transfer size
From: Michael Krufky <mkrufky@linuxtv.org>
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>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/tda18271.h')
-rw-r--r-- | linux/drivers/media/dvb/frontends/tda18271.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda18271.h b/linux/drivers/media/dvb/frontends/tda18271.h index 24b0e35a2..e79441e22 100644 --- a/linux/drivers/media/dvb/frontends/tda18271.h +++ b/linux/drivers/media/dvb/frontends/tda18271.h @@ -58,6 +58,9 @@ struct tda18271_config { /* use i2c gate provided by analog or digital demod */ enum tda18271_i2c_gate gate; + + /* some i2c providers cant write all 39 registers at once */ + unsigned int small_i2c:1; }; #if defined(CONFIG_DVB_TDA18271) || (defined(CONFIG_DVB_TDA18271_MODULE) && defined(MODULE)) |