diff options
-rw-r--r-- | drivers/media/dvb/dvb-usb/dibusb-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/dibusb-common.c b/drivers/media/dvb/dvb-usb/dibusb-common.c index 76e37b5d6610..fd3a9902f98d 100644 --- a/drivers/media/dvb/dvb-usb/dibusb-common.c +++ b/drivers/media/dvb/dvb-usb/dibusb-common.c | |||
@@ -286,7 +286,7 @@ int dibusb_dib3000mc_tuner_attach(struct dvb_usb_adapter *adap) | |||
286 | } | 286 | } |
287 | 287 | ||
288 | tun_i2c = dib3000mc_get_tuner_i2c_master(adap->fe, 1); | 288 | tun_i2c = dib3000mc_get_tuner_i2c_master(adap->fe, 1); |
289 | if (dvb_attach(mt2060_attach, adap->fe, tun_i2c, &stk3000p_mt2060_config, if1) != NULL) { | 289 | if (dvb_attach(mt2060_attach, adap->fe, tun_i2c, &stk3000p_mt2060_config, if1) == NULL) { |
290 | /* not found - use panasonic pll parameters */ | 290 | /* not found - use panasonic pll parameters */ |
291 | if (dvb_attach(dvb_pll_attach, adap->fe, 0x60, tun_i2c, &dvb_pll_env57h1xd5) == NULL) | 291 | if (dvb_attach(dvb_pll_attach, adap->fe, 0x60, tun_i2c, &dvb_pll_env57h1xd5) == NULL) |
292 | return -ENOMEM; | 292 | return -ENOMEM; |