mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
msm: camera: ife: Change log level
To acquire a CSID path we loop through all available CSIDs. Therefore the log that indicates that a specific CSID does not have a path available is not a error by itself. This commit changes that log level to debug. CRs-Fixed: 2671273 Change-Id: I52750975a739faa5a4015d20cebb5f7f0442fb58 Signed-off-by: Venkat Chinta <vchinta@codeaurora.org>
This commit is contained in:
parent
d324acfbdb
commit
df4da1d8dd
2 changed files with 5 additions and 7 deletions
|
|
@ -1639,9 +1639,7 @@ static int cam_ife_mgr_acquire_cid_res(
|
|||
&csid_acquire, false);
|
||||
|
||||
if (rc || !csid_acquire.node_res) {
|
||||
CAM_ERR(CAM_ISP,
|
||||
"Can not acquire ife cid resource for path %d",
|
||||
path_res_id);
|
||||
CAM_ERR(CAM_ISP, "No %d paths available", path_res_id);
|
||||
goto put_res;
|
||||
}
|
||||
cid_res_temp->hw_res[acquired_cnt++] = csid_acquire.node_res;
|
||||
|
|
|
|||
|
|
@ -1018,7 +1018,7 @@ int cam_ife_csid_path_reserve(struct cam_ife_csid_hw *csid_hw,
|
|||
case CAM_IFE_PIX_PATH_RES_IPP:
|
||||
if (csid_hw->ipp_res.res_state !=
|
||||
CAM_ISP_RESOURCE_STATE_AVAILABLE) {
|
||||
CAM_ERR(CAM_ISP,
|
||||
CAM_DBG(CAM_ISP,
|
||||
"CSID:%d IPP resource not available %d",
|
||||
csid_hw->hw_intf->hw_idx,
|
||||
csid_hw->ipp_res.res_state);
|
||||
|
|
@ -1046,7 +1046,7 @@ int cam_ife_csid_path_reserve(struct cam_ife_csid_hw *csid_hw,
|
|||
case CAM_IFE_PIX_PATH_RES_PPP:
|
||||
if (csid_hw->ppp_res.res_state !=
|
||||
CAM_ISP_RESOURCE_STATE_AVAILABLE) {
|
||||
CAM_ERR(CAM_ISP,
|
||||
CAM_DBG(CAM_ISP,
|
||||
"CSID:%d PPP resource not available %d",
|
||||
csid_hw->hw_intf->hw_idx,
|
||||
csid_hw->ppp_res.res_state);
|
||||
|
|
@ -1077,7 +1077,7 @@ int cam_ife_csid_path_reserve(struct cam_ife_csid_hw *csid_hw,
|
|||
case CAM_IFE_PIX_PATH_RES_RDI_3:
|
||||
if (csid_hw->rdi_res[reserve->res_id].res_state !=
|
||||
CAM_ISP_RESOURCE_STATE_AVAILABLE) {
|
||||
CAM_ERR(CAM_ISP,
|
||||
CAM_DBG(CAM_ISP,
|
||||
"CSID:%d RDI:%d resource not available %d",
|
||||
csid_hw->hw_intf->hw_idx,
|
||||
reserve->res_id,
|
||||
|
|
@ -1100,7 +1100,7 @@ int cam_ife_csid_path_reserve(struct cam_ife_csid_hw *csid_hw,
|
|||
id = reserve->res_id - CAM_IFE_PIX_PATH_RES_UDI_0;
|
||||
if (csid_hw->udi_res[id].res_state !=
|
||||
CAM_ISP_RESOURCE_STATE_AVAILABLE) {
|
||||
CAM_ERR(CAM_ISP,
|
||||
CAM_DBG(CAM_ISP,
|
||||
"CSID:%d UDI:%d resource not available %d",
|
||||
csid_hw->hw_intf->hw_idx,
|
||||
reserve->res_id,
|
||||
|
|
|
|||
Loading…
Reference in a new issue