summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorPatrick Boettcher <pb@linuxtv.org>2006-09-20 11:06:58 +0200
committerPatrick Boettcher <pb@linuxtv.org>2006-09-20 11:06:58 +0200
commit9467d0e7ccb617295cce2c134823a4fe73b76800 (patch)
tree0f3378e280a1f91645b5cbc50680a3c07df3d69b /linux
parentc96cfe756cb607fecb05a1715c87c7aab294b0b4 (diff)
downloadmediapointer-dvb-s2-9467d0e7ccb617295cce2c134823a4fe73b76800.tar.gz
mediapointer-dvb-s2-9467d0e7ccb617295cce2c134823a4fe73b76800.tar.bz2
Another fix because of dvb_attach
From: Patrick Boettcher <pb@linuxtv.org> Fixed mt2060-usage with dvb_attach Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/dibusb-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/dibusb-common.c b/linux/drivers/media/dvb/dvb-usb/dibusb-common.c
index 76e37b5d6..fd3a9902f 100644
--- a/linux/drivers/media/dvb/dvb-usb/dibusb-common.c
+++ b/linux/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;