aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7164
diff options
context:
space:
mode:
authorSteven Toth <stoth@kernellabs.com>2009-08-29 13:33:06 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-18 23:15:19 -0400
commit8bfd4b290ac28752234bce8febe96497b389cc3e (patch)
tree90bb933c7818330e5c57dd87ae63f73f46ad2c2a /drivers/media/video/saa7164
parent1f8c40b44161d64fd127aa93e717576ae0d6e9d2 (diff)
V4L/DVB (12944): SAA7164: Minor i2c assignment cleanup
SAA7164: Minor i2c assignment cleanup Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7164')
-rw-r--r--drivers/media/video/saa7164/saa7164-dvb.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/video/saa7164/saa7164-dvb.c b/drivers/media/video/saa7164/saa7164-dvb.c
index 0e28b9668562..c78c73ab47d3 100644
--- a/drivers/media/video/saa7164/saa7164-dvb.c
+++ b/drivers/media/video/saa7164/saa7164-dvb.c
@@ -521,10 +521,9 @@ int saa7164_dvb_register(struct saa7164_tsport *port)
521 case SAA7164_BOARD_HAUPPAUGE_HVR2200: 521 case SAA7164_BOARD_HAUPPAUGE_HVR2200:
522 case SAA7164_BOARD_HAUPPAUGE_HVR2200_2: 522 case SAA7164_BOARD_HAUPPAUGE_HVR2200_2:
523 case SAA7164_BOARD_HAUPPAUGE_HVR2200_3: 523 case SAA7164_BOARD_HAUPPAUGE_HVR2200_3:
524 i2c_bus = &dev->i2c_bus[port->nr + 1];
524 switch (port->nr) { 525 switch (port->nr) {
525 case 0: 526 case 0:
526 i2c_bus = &dev->i2c_bus[1];
527
528 port->dvb.frontend = dvb_attach(tda10048_attach, 527 port->dvb.frontend = dvb_attach(tda10048_attach,
529 &hauppauge_hvr2200_1_config, 528 &hauppauge_hvr2200_1_config,
530 &i2c_bus->i2c_adap); 529 &i2c_bus->i2c_adap);
@@ -538,8 +537,6 @@ int saa7164_dvb_register(struct saa7164_tsport *port)
538 537
539 break; 538 break;
540 case 1: 539 case 1:
541 i2c_bus = &dev->i2c_bus[2];
542
543 port->dvb.frontend = dvb_attach(tda10048_attach, 540 port->dvb.frontend = dvb_attach(tda10048_attach,
544 &hauppauge_hvr2200_2_config, 541 &hauppauge_hvr2200_2_config,
545 &i2c_bus->i2c_adap); 542 &i2c_bus->i2c_adap);