[media] dvb_usb_v2: return the download ret in dvb_usb_download_firmware

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>
This commit is contained in:
Malcolm Priestley 2012-06-13 18:24:32 -03:00 committed by Mauro Carvalho Chehab
parent a4e7c51edd
commit c65bcb95be
1 changed files with 1 additions and 1 deletions

View File

@ -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;