diff options
author | Antti Palosaari <crope@iki.fi> | 2015-07-26 17:30:07 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-02-03 06:44:03 -0200 |
commit | 433c4864977a943eabea737f2f0894430795eca3 (patch) | |
tree | c286ceb23d6285f781caf5e49fa8daa163307dcf /drivers/media/tuners/mt2060_priv.h | |
parent | 59e8b7aa931c8a82afad9f5868e4872f14c44cc7 (diff) | |
download | op-kernel-dev-433c4864977a943eabea737f2f0894430795eca3.zip op-kernel-dev-433c4864977a943eabea737f2f0894430795eca3.tar.gz |
[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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/tuners/mt2060_priv.h b/drivers/media/tuners/mt2060_priv.h index af677b2..cc738aa 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; |