mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
msm: camera: isp: Avoid dereference for unavailable port in ife out
During deinit, we are dereferencing resource data even for unavailable out resource. Avoid dereferencing NULL pointer during vfe deinit out resource. CRs-Fixed: 2584631 Change-Id: I8488ccf73f62c551fc9d6ce3d636b10d8b0c7b8c Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
This commit is contained in:
parent
90d0abfbfd
commit
0e57ffd0a0
1 changed files with 0 additions and 3 deletions
|
|
@ -2400,9 +2400,6 @@ static int cam_vfe_bus_ver3_deinit_vfe_out_resource(
|
|||
* This is not error. It can happen if the resource is
|
||||
* never supported in the HW.
|
||||
*/
|
||||
CAM_DBG(CAM_ISP, "VFE:%d out_type:%d already deinitialized",
|
||||
rsrc_data->common_data->core_index,
|
||||
rsrc_data->out_type);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue