[media] tda10071: add tuner_i2c_addr to struct tda10071_config

The default i2c address for the tuner is 0x14,
allow this to be overridden with a configuration parameter

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Michael Krufky
2012-12-16 13:24:59 -03:00
committed by Mauro Carvalho Chehab
parent 5b7d8de7d2
commit 0176fd4d25
2 changed files with 7 additions and 1 deletions

View File

@@ -30,6 +30,12 @@ struct tda10071_config {
*/
u8 i2c_address;
/* Tuner I2C address.
* Default: 0x14
* Values: 0x14, 0x54, ...
*/
u8 tuner_i2c_addr;
/* Max bytes I2C provider can write at once.
* Note: Buffer is taken from the stack currently!
* Default: none, must set