summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r--drivers/gpu/nvgpu/gm20b/acr_gm20b.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
index e38e9a85..4f684191 100644
--- a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
@@ -1168,6 +1168,7 @@ err_free_ucode:
1168 nvgpu_dma_free(g, &hs_bl->hs_bl_ucode); 1168 nvgpu_dma_free(g, &hs_bl->hs_bl_ucode);
1169err_done: 1169err_done:
1170 nvgpu_release_firmware(g, hs_bl_fw); 1170 nvgpu_release_firmware(g, hs_bl_fw);
1171 acr_desc->acr_hs_bl.hs_bl_fw = NULL;
1171 1172
1172 return err; 1173 return err;
1173} 1174}
@@ -1338,7 +1339,7 @@ err_free_ucode_map:
1338 nvgpu_dma_unmap_free(vm, acr_ucode_mem); 1339 nvgpu_dma_unmap_free(vm, acr_ucode_mem);
1339err_release_acr_fw: 1340err_release_acr_fw:
1340 nvgpu_release_firmware(g, acr_fw); 1341 nvgpu_release_firmware(g, acr_fw);
1341 acr_fw = NULL; 1342 acr_desc->acr_fw = NULL;
1342 return status; 1343 return status;
1343} 1344}
1344 1345