mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
platform: nvadsp: Fix pointer to error conversion
Fixing the issue of convertion from pointer to error conversion for integer value in load_adsp_dynamic_module. Bug 200270956 Change-Id: I50fb4f4a4b0cf607045f8037d116affcdd1a6b3b Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com> Reviewed-on: http://git-master/r/1468501 Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1537318 Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Laxman Dewangan
parent
34470e65b4
commit
828e9d448f
@@ -945,7 +945,7 @@ struct adsp_module *load_adsp_dynamic_module(const char *appname,
|
||||
|
||||
error_release_fw:
|
||||
release_firmware(fw);
|
||||
return IS_ERR_VALUE(ret) ? ERR_PTR(ret) : mod;
|
||||
return ret ? ERR_PTR(ret) : mod;
|
||||
|
||||
unload_module:
|
||||
unload_adsp_module(mod);
|
||||
|
||||
Reference in New Issue
Block a user