summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends
diff options
context:
space:
mode:
authorPatrick Boettcher <devnull@localhost>2004-10-13 19:36:12 +0000
committerPatrick Boettcher <devnull@localhost>2004-10-13 19:36:12 +0000
commit5e6d195c487cfb4e5fe4076405d22024afcb1788 (patch)
tree51e0f6e2833fc9e31d169b9df36e4d4ff75bdd9f /linux/drivers/media/dvb/frontends
parentc1c11160f4494d7f7eb92a019082f7094736745d (diff)
downloadmediapointer-dvb-s2-5e6d195c487cfb4e5fe4076405d22024afcb1788.tar.gz
mediapointer-dvb-s2-5e6d195c487cfb4e5fe4076405d22024afcb1788.tar.bz2
*dang* committed a bug, corrected
Diffstat (limited to 'linux/drivers/media/dvb/frontends')
-rw-r--r--linux/drivers/media/dvb/frontends/dib3000mb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/dib3000mb.c b/linux/drivers/media/dvb/frontends/dib3000mb.c
index 2b67465fa..51e820148 100644
--- a/linux/drivers/media/dvb/frontends/dib3000mb.c
+++ b/linux/drivers/media/dvb/frontends/dib3000mb.c
@@ -17,7 +17,7 @@
* Amaury Demol (ademol@dibcom.fr) from DiBcom for providing specs and driver
* sources, on which this driver (and the dvb-dibusb) are based.
*
- * $Id: dib3000mb.c,v 1.10 2004/10/11 13:33:38 pmp Exp $
+ * $Id: dib3000mb.c,v 1.11 2004/10/13 19:36:12 pmp Exp $
*
* see Documentation/dvb/README.dibusb for more information
*
@@ -891,7 +891,7 @@ static int dib3000mb_attach_adapter(struct i2c_adapter *adapter)
}
state->device_id = dib3000mb_read_reg(client,DIB3000MB_REG_DEVICE_ID);
- if (state->device_id == 0x3000) {
+ if (state->device_id != 0x3000) {
ret = -ENODEV;
goto probe_err;
}