mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
msm: camera: common: Improve IFE and CSIPhy logging
Remove unnecessary logs from ife start, stop and release routines. Add secure mode to CSIPHY logging. CRs-Fixed: 2709537 Change-Id: Ib58d008cff5fef3d75f19c88aab76a85b5dc2e89 Signed-off-by: Jigar Agrawal <jigar@codeaurora.org> Signed-off-by: Jeyaprakash Soundrapandian <jsoundra@codeaurora.org>
This commit is contained in:
parent
12fbb55700
commit
17f1383e33
2 changed files with 3 additions and 11 deletions
|
|
@ -406,9 +406,7 @@ static int cam_ife_hw_mgr_start_hw_res(
|
|||
"Can not start HW:%d resources",
|
||||
hw_intf->hw_idx);
|
||||
goto err;
|
||||
} else
|
||||
CAM_INFO(CAM_ISP, "Started HW:%d",
|
||||
hw_intf->hw_idx);
|
||||
}
|
||||
} else {
|
||||
CAM_ERR(CAM_ISP, "function null");
|
||||
goto err;
|
||||
|
|
@ -442,8 +440,6 @@ static void cam_ife_hw_mgr_stop_hw_res(
|
|||
hw_intf->hw_ops.stop(hw_intf->hw_priv,
|
||||
isp_hw_res->hw_res[i],
|
||||
sizeof(struct cam_isp_resource_node));
|
||||
|
||||
CAM_INFO(CAM_ISP, "Stopped Hw:%d", hw_intf->hw_idx);
|
||||
}
|
||||
else
|
||||
CAM_ERR(CAM_ISP, "stop null");
|
||||
|
|
@ -652,11 +648,6 @@ static int cam_ife_hw_mgr_free_hw_res(
|
|||
CAM_ERR(CAM_ISP,
|
||||
"Release HW:%d resource id %d failed",
|
||||
hw_intf->hw_idx, isp_hw_res->res_id);
|
||||
else
|
||||
CAM_DBG(CAM_ISP,
|
||||
"Released HW:%d resource id %d",
|
||||
hw_intf->hw_idx, isp_hw_res->res_id);
|
||||
|
||||
isp_hw_res->hw_res[i] = NULL;
|
||||
} else
|
||||
CAM_ERR(CAM_ISP, "Release null");
|
||||
|
|
|
|||
|
|
@ -1264,8 +1264,9 @@ int32_t cam_csiphy_core_cfg(void *phy_dev,
|
|||
}
|
||||
|
||||
CAM_INFO(CAM_CSIPHY,
|
||||
"START_DEV: CSIPHY_IDX: %d, Device_slot: %d, Datarate: %llu, Settletime: %llu",
|
||||
"CAM_START_PHYDEV: CSIPHY_IDX: %d, Device_slot: %d, cp_mode: %d, Datarate: %llu, Settletime: %llu",
|
||||
csiphy_dev->soc_info.index, offset,
|
||||
csiphy_dev->csiphy_info[offset].secure_mode,
|
||||
csiphy_dev->csiphy_info[offset].data_rate,
|
||||
csiphy_dev->csiphy_info[offset].settle_time);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue