msm: camera: reqmgr: Change subdev register logic in camera req manager
Due to deferred probes being dpendent on request manager to register v4l2 subdev, failures are seen if probes are delayed. Change logic for subdev registration to avoid failures due to delay. CRs-Fixed: 2584631 Change-Id: Ia01d5d27ff6a6e6dbbb8e3b25b9aa53ac2fa9e38 Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org> Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
This commit is contained in:
@@ -239,15 +239,6 @@ static int camera_init(void)
|
||||
}
|
||||
}
|
||||
|
||||
rc = cam_req_mgr_late_init();
|
||||
if (rc) {
|
||||
CAM_ERR(CAM_UTIL,
|
||||
"Late_init Sequence/Subdev node creation fail: rc = %d",
|
||||
rc);
|
||||
camera_error_exit(i, j);
|
||||
goto end_init;
|
||||
}
|
||||
|
||||
CAM_INFO(CAM_UTIL, "Camera driver initialized");
|
||||
|
||||
end_init:
|
||||
|
Reference in New Issue
Block a user