Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a8004108 authored by Camera Software Integration's avatar Camera Software Integration Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: cpas: Reorder sequence of cleanup in cpas probe failure"...

Merge "msm: camera: cpas: Reorder sequence of cleanup in cpas probe failure" into camera-kernel.lnx.3.1
parents cde39228 cc746c8e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1933,10 +1933,10 @@ int cam_cpas_hw_probe(struct platform_device *pdev,
	cam_cpas_util_unregister_bus_client(&cpas_core->ahb_bus_client);
client_cleanup:
	cam_cpas_util_client_cleanup(cpas_hw);
	cam_cpas_node_tree_cleanup(cpas_core, cpas_hw->soc_info.soc_private);
deinit_platform_res:
	cam_cpas_soc_deinit_resources(&cpas_hw->soc_info);
release_workq:
	cam_cpas_node_tree_cleanup(cpas_core, cpas_hw->soc_info.soc_private);
	flush_workqueue(cpas_core->work_queue);
	destroy_workqueue(cpas_core->work_queue);
release_mem: