msm: camera: common: Fix failures in v4l2 unregister during error
Missing video unregister was causing list delete corruption. Also, there were double free errors in Sync and CRM driver. Fix v4l2 issues by adding the missing unregister calls and changing release callback to empty, because we are freeing it during cleanup. Improve logging during bind/unbind to better reflect what is happening. CRs-Fixed: 2584631 Change-Id: Idc5db655d22df54e8bdb470d29896e10f6987796 Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
This commit is contained in:
@@ -161,7 +161,7 @@ static int cam_isp_dev_component_bind(struct device *dev,
|
||||
|
||||
mutex_init(&g_isp_dev.isp_mutex);
|
||||
|
||||
CAM_INFO(CAM_ISP, "ISP HW component bound successfully");
|
||||
CAM_INFO(CAM_ISP, "Component bound successfully");
|
||||
|
||||
return 0;
|
||||
unregister:
|
||||
|
Reference in New Issue
Block a user