summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJohannes Stezenbach <js@linuxtv.org>2005-06-24 07:02:38 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-24 09:05:30 +0200
commitf756ead1366092b73467fe3b1fb23f61034e94f9 (patch)
treeb9fd69ea85dfd708fe5017dfca4c126862c189d3 /drivers
parent[PATCH] dvb: Add generalized dvb-usb driver (diff)
downloadlinux-f756ead1366092b73467fe3b1fb23f61034e94f9.tar.xz
linux-f756ead1366092b73467fe3b1fb23f61034e94f9.zip
[PATCH] dvb-usb: fix init error checking
Fix error checking during initialization. Thanks to Gerolf Wendland for discovering. Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/dvb-usb/dibusb-mb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/dibusb-mb.c b/drivers/media/dvb/dvb-usb/dibusb-mb.c
index fd103e4746e1..a0ffbb59fa14 100644
--- a/drivers/media/dvb/dvb-usb/dibusb-mb.c
+++ b/drivers/media/dvb/dvb-usb/dibusb-mb.c
@@ -81,7 +81,7 @@ static int dibusb_probe(struct usb_interface *intf,
const struct usb_device_id *id)
{
if (dvb_usb_device_init(intf,&dibusb1_1_properties,THIS_MODULE) == 0 ||
- dvb_usb_device_init(intf,&dibusb1_1_an2235_properties,THIS_MODULE) ||
+ dvb_usb_device_init(intf,&dibusb1_1_an2235_properties,THIS_MODULE) == 0 ||
dvb_usb_device_init(intf,&dibusb2_0b_properties,THIS_MODULE) == 0)
return 0;