Commit 66767920 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

V4L/DVB (9630): Some boards need to specify tuner address

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 60245e85
...@@ -1765,6 +1765,7 @@ void em28xx_card_setup(struct em28xx *dev) ...@@ -1765,6 +1765,7 @@ void em28xx_card_setup(struct em28xx *dev)
em28xx_set_model(dev); em28xx_set_model(dev);
dev->tuner_type = em28xx_boards[dev->model].tuner_type; dev->tuner_type = em28xx_boards[dev->model].tuner_type;
dev->tuner_addr = em28xx_boards[dev->model].tuner_addr;
/* request some modules */ /* request some modules */
switch (dev->model) { switch (dev->model) {
......
...@@ -288,6 +288,7 @@ struct em28xx_board { ...@@ -288,6 +288,7 @@ struct em28xx_board {
char *name; char *name;
int vchannels; int vchannels;
int tuner_type; int tuner_type;
int tuner_addr;
/* i2c flags */ /* i2c flags */
unsigned int tda9887_conf; unsigned int tda9887_conf;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment