aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/as102/as102_fw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/usb/as102/as102_fw.c')
-rw-r--r--drivers/media/usb/as102/as102_fw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/usb/as102/as102_fw.c b/drivers/media/usb/as102/as102_fw.c
index 07d08c49f4d4..5a28ce3a1d49 100644
--- a/drivers/media/usb/as102/as102_fw.c
+++ b/drivers/media/usb/as102/as102_fw.c
@@ -198,6 +198,7 @@ int as102_fw_upload(struct as10x_bus_adapter_t *bus_adap)
pr_info("%s: firmware: %s loaded with success\n",
DRIVER_NAME, fw1);
release_firmware(firmware);
+ firmware = NULL;
/* wait for boot to complete */
mdelay(100);

Privacy Policy