Skip to content

Commit

Permalink
[media] dvb_usb_v2: return the download ret in dvb_usb_download_firmware
Browse files Browse the repository at this point in the history
The first being this patch, no return value from dvb_usb_download_firmware
causes system wide dead lock with COLD disconnect as system attempts to continue
to warm state.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Malcolm Priestley authored and Mauro Carvalho Chehab committed Aug 4, 2012
1 parent a4e7c51 commit c65bcb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb/dvb-usb/dvb_usb_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c65bcb9

Please sign in to comment.