summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/tda18271.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-03-16 00:13:09 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2008-03-16 00:13:09 -0400
commiteb7c9b051872740cb59da357e90b5dae2d67ac12 (patch)
treeb605917607b73ea856b457a62c3d9f2ad770c3d3 /linux/drivers/media/dvb/frontends/tda18271.h
parentcafc731a90a72a074c05cf2d7e4a67f3fa596b76 (diff)
downloadmediapointer-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.h3
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))