diff options
author | Johannes Stezenbach <js@linuxtv.org> | 2005-06-24 01:02:38 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 03:05:30 -0400 |
commit | f756ead1366092b73467fe3b1fb23f61034e94f9 (patch) | |
tree | b9fd69ea85dfd708fe5017dfca4c126862c189d3 /drivers/media/dvb/dvb-usb/dibusb-mb.c | |
parent | 776338e121b9db3156bfb4e21622a0219bbab9d4 (diff) |
[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/media/dvb/dvb-usb/dibusb-mb.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/dibusb-mb.c | 2 |
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, | |||
81 | const struct usb_device_id *id) | 81 | const struct usb_device_id *id) |
82 | { | 82 | { |
83 | if (dvb_usb_device_init(intf,&dibusb1_1_properties,THIS_MODULE) == 0 || | 83 | if (dvb_usb_device_init(intf,&dibusb1_1_properties,THIS_MODULE) == 0 || |
84 | dvb_usb_device_init(intf,&dibusb1_1_an2235_properties,THIS_MODULE) || | 84 | dvb_usb_device_init(intf,&dibusb1_1_an2235_properties,THIS_MODULE) == 0 || |
85 | dvb_usb_device_init(intf,&dibusb2_0b_properties,THIS_MODULE) == 0) | 85 | dvb_usb_device_init(intf,&dibusb2_0b_properties,THIS_MODULE) == 0) |
86 | return 0; | 86 | return 0; |
87 | 87 | ||