OSDN Git Service

V4L/DVB (12943): SAA7164: Add a warning about addr usage
authorSteven Toth <stoth@kernellabs.com>
Sat, 29 Aug 2009 17:22:05 +0000 (14:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 19 Sep 2009 03:15:12 +0000 (00:15 -0300)
SAA7164: Remove meaningless if'0 code

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/saa7164/saa7164-dvb.c

index 238efc9..0e28b96 100644 (file)
@@ -530,6 +530,7 @@ int saa7164_dvb_register(struct saa7164_tsport *port)
                                &i2c_bus->i2c_adap);
 
                        if (port->dvb.frontend != NULL) {
+                               /* TODO: addr is in the card struct */
                                dvb_attach(tda18271_attach, port->dvb.frontend,
                                        0xc0 >> 1, &i2c_bus->i2c_adap,
                                        &hauppauge_hvr22x0_tuner_config);
@@ -544,6 +545,7 @@ int saa7164_dvb_register(struct saa7164_tsport *port)
                                &i2c_bus->i2c_adap);
 
                        if (port->dvb.frontend != NULL) {
+                               /* TODO: addr is in the card struct */
                                dvb_attach(tda18271_attach, port->dvb.frontend,
                                        0xc0 >> 1, &i2c_bus->i2c_adap,
                                        &hauppauge_hvr22x0_tuner_config);