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:
Mukund Madhusudan Atre
2020-02-17 00:29:44 -08:00
szülő 3a756cef36
commit 0a649b3063
10 fájl változott, egészen pontosan 89 új sor hozzáadva és 39 régi sor törölve

Fájl megtekintése

@@ -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: