summaryrefslogtreecommitdiff
path: root/drivers/media/tuners/mt2060_priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2015-07-26 23:30:07 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-02-03 11:44:03 +0300
commit433c4864977a943eabea737f2f0894430795eca3 (patch)
treec286ceb23d6285f781caf5e49fa8daa163307dcf /drivers/media/tuners/mt2060_priv.h
parent59e8b7aa931c8a82afad9f5868e4872f14c44cc7 (diff)
downloadlinux-433c4864977a943eabea737f2f0894430795eca3.tar.xz
[media] mt2060: add param to split long i2c writes
Add configuration parameter to split long i2c writes as some I2C adapters cannot write 10 bytes used as a one go. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/tuners/mt2060_priv.h')
-rw-r--r--drivers/media/tuners/mt2060_priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/tuners/mt2060_priv.h b/drivers/media/tuners/mt2060_priv.h
index af677b245286..cc738aa82fe4 100644
--- a/drivers/media/tuners/mt2060_priv.h
+++ b/drivers/media/tuners/mt2060_priv.h
@@ -94,6 +94,7 @@ struct mt2060_priv {
struct i2c_client *client;
struct mt2060_config config;
+ u8 i2c_max_regs;
u32 frequency;
u16 if1_freq;
u8 fmfreq;