summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2004-06-22 14:28:03 +0000
committerMichael Hunold <devnull@localhost>2004-06-22 14:28:03 +0000
commit337821723545ff1ac2823d33e13d660bb279b406 (patch)
treeb5a3c3298563563f1bbe6ea085191d7abc9f46cf /linux/drivers/media/dvb
parenta7d61cec0fe82e1604c968a62bef0f310dd60c74 (diff)
downloadmediapointer-dvb-s2-337821723545ff1ac2823d33e13d660bb279b406.tar.gz
mediapointer-dvb-s2-337821723545ff1ac2823d33e13d660bb279b406.tar.bz2
- accidently inverted BUG_ON() logic
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/frontends/stv0299.c2
-rw-r--r--linux/drivers/media/dvb/frontends/ves1x93.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/stv0299.c b/linux/drivers/media/dvb/frontends/stv0299.c
index 01c2fa948..7da577ea7 100644
--- a/linux/drivers/media/dvb/frontends/stv0299.c
+++ b/linux/drivers/media/dvb/frontends/stv0299.c
@@ -1387,7 +1387,7 @@ static int attach_adapter(struct i2c_adapter *adapter)
return -EFAULT;
}
- BUG_ON(state->dvb);
+ BUG_ON(!state->dvb);
ret = dvb_register_frontend_new (uni0299_ioctl, state->dvb, (void*) state, &uni0299_info);
if (ret) {
diff --git a/linux/drivers/media/dvb/frontends/ves1x93.c b/linux/drivers/media/dvb/frontends/ves1x93.c
index 5162c3c46..0bd02b698 100644
--- a/linux/drivers/media/dvb/frontends/ves1x93.c
+++ b/linux/drivers/media/dvb/frontends/ves1x93.c
@@ -636,7 +636,7 @@ static int attach_adapter(struct i2c_adapter *adapter)
return -EFAULT;
}
- BUG_ON(state->dvb);
+ BUG_ON(!state->dvb);
ret = dvb_register_frontend_new (ves1x93_ioctl, state->dvb, (void*) state, &ves1x93_info);
if (ret) {