summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/dvb/dvb-usb/dvb_usb_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/dvb_usb_init.c b/drivers/media/dvb/dvb-usb/dvb_usb_init.c
index ecc6bd253497..0ac1a72a7d81 100644
--- a/drivers/media/dvb/dvb-usb/dvb_usb_init.c
+++ b/drivers/media/dvb/dvb-usb/dvb_usb_init.c
@@ -62,7 +62,7 @@ static int dvb_usbv2_download_firmware(struct dvb_usb_device *d)
if (ret < 0)
goto err;
- return 0;
+ return ret;
err:
pr_debug("%s: failed=%d\n", __func__, ret);
return ret;