Commit c65bcb95 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Mauro Carvalho Chehab
Browse files

[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: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent a4e7c51e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;