msm: camera: isp: Release mutex in case of error
Mutex unlock was missing in CSID driver in case the drv clk rate call fails. This can result in recursive locking situations. This commit handles the error scenario. Change-Id: Ie1e60006713f0a96831ec1174bec1b40ab460a1f CRs-Fixed: 3712878 Signed-off-by: Gaurav Jindal <quic_gjindal@quicinc.com>
Cette révision appartient à :
@@ -5458,7 +5458,7 @@ int cam_ife_csid_ver2_start(void *hw_priv, void *args,
|
||||
if (rc) {
|
||||
CAM_ERR(CAM_ISP, "Failed in setting cesta clk rates, client_idx:%d rc:%d",
|
||||
csid_hw->hw_intf->hw_idx, rc);
|
||||
return rc;
|
||||
goto end;
|
||||
}
|
||||
|
||||
if (csid_hw->sync_mode != CAM_ISP_HW_SYNC_SLAVE) {
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur