diff options
author | Patrick Boettcher <pb@linuxtv.org> | 2006-09-20 13:06:58 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-10-03 22:13:20 +0400 |
commit | 025c5d66ad43bb53651379d0fb257daca568d3f9 (patch) | |
tree | 32ff3184adab456556b46ecc5e514ad2a2857c58 /drivers | |
parent | a37ddced86b092f8f4fd8dc20d4f5dce2e7cc6d3 (diff) | |
download | linux-025c5d66ad43bb53651379d0fb257daca568d3f9.tar.xz |
V4L/DVB (4658): Another fix because of dvb_attach
Fixed mt2060-usage with dvb_attach
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-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) } tun_i2c = dib3000mc_get_tuner_i2c_master(adap->fe, 1); - if (dvb_attach(mt2060_attach, adap->fe, tun_i2c, &stk3000p_mt2060_config, if1) != NULL) { + if (dvb_attach(mt2060_attach, adap->fe, tun_i2c, &stk3000p_mt2060_config, if1) == NULL) { /* not found - use panasonic pll parameters */ if (dvb_attach(dvb_pll_attach, adap->fe, 0x60, tun_i2c, &dvb_pll_env57h1xd5) == NULL) return -ENOMEM; |