[media] tda10071: make sure both tuner and demod i2c addresses are specified
display an error message if either tuner_i2c_addr or demod_i2c_addr are not specified in the tda10071_config structure Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
bb9e31f392
commit
41f55d5755
@@ -662,7 +662,7 @@ static struct mt2063_config terratec_mt2063_config[] = {
|
||||
};
|
||||
|
||||
static const struct tda10071_config hauppauge_tda10071_config = {
|
||||
.i2c_address = 0x05,
|
||||
.demod_i2c_addr = 0x05,
|
||||
.tuner_i2c_addr = 0x54,
|
||||
.i2c_wr_max = 64,
|
||||
.ts_mode = TDA10071_TS_SERIAL,
|
||||
|
Reference in New Issue
Block a user