Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Steven Toth and committed by
Mauro Carvalho Chehab
8bfd4b29 1f8c40b4

+1 -4
+1 -4
drivers/media/video/saa7164/saa7164-dvb.c
··· 521 521 case SAA7164_BOARD_HAUPPAUGE_HVR2200: 522 522 case SAA7164_BOARD_HAUPPAUGE_HVR2200_2: 523 523 case SAA7164_BOARD_HAUPPAUGE_HVR2200_3: 524 + i2c_bus = &dev->i2c_bus[port->nr + 1]; 524 525 switch (port->nr) { 525 526 case 0: 526 - i2c_bus = &dev->i2c_bus[1]; 527 - 528 527 port->dvb.frontend = dvb_attach(tda10048_attach, 529 528 &hauppauge_hvr2200_1_config, 530 529 &i2c_bus->i2c_adap); ··· 537 538 538 539 break; 539 540 case 1: 540 - i2c_bus = &dev->i2c_bus[2]; 541 - 542 541 port->dvb.frontend = dvb_attach(tda10048_attach, 543 542 &hauppauge_hvr2200_2_config, 544 543 &i2c_bus->i2c_adap);