mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
msm: camera: common: Change log type to WARN
When a request setting could not be applied by any device on the link, it does not indicate a fatal error. It only leads to a frame drop. Changing the apply failure logs to warn as opposed to error. CRs-Fixed: 2514752 Change-Id: Idbca2dbb06b0bbb4c380264cf31b665188306396 Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
This commit is contained in:
parent
6678f1003b
commit
72eeacf17a
2 changed files with 3 additions and 3 deletions
|
|
@ -3841,14 +3841,14 @@ static int __cam_isp_ctx_apply_req(struct cam_context *ctx,
|
|||
if (ctx_ops->crm_ops.apply_req) {
|
||||
rc = ctx_ops->crm_ops.apply_req(ctx, apply);
|
||||
} else {
|
||||
CAM_ERR_RATE_LIMIT(CAM_ISP,
|
||||
CAM_WARN_RATE_LIMIT(CAM_ISP,
|
||||
"No handle function in activated substate %d",
|
||||
ctx_isp->substate_activated);
|
||||
rc = -EFAULT;
|
||||
}
|
||||
|
||||
if (rc)
|
||||
CAM_ERR_RATE_LIMIT(CAM_ISP,
|
||||
CAM_WARN_RATE_LIMIT(CAM_ISP,
|
||||
"Apply failed in active substate %d rc %d",
|
||||
ctx_isp->substate_activated, rc);
|
||||
return rc;
|
||||
|
|
|
|||
|
|
@ -631,7 +631,7 @@ static int __cam_req_mgr_send_req(struct cam_req_mgr_core_link *link,
|
|||
}
|
||||
}
|
||||
if (rc < 0) {
|
||||
CAM_ERR_RATE_LIMIT(CAM_CRM, "APPLY FAILED pd %d req_id %lld",
|
||||
CAM_WARN_RATE_LIMIT(CAM_CRM, "APPLY FAILED pd %d req_id %lld",
|
||||
dev->dev_info.p_delay, apply_req.request_id);
|
||||
/* Apply req failed notify already applied devs */
|
||||
for (; i >= 0; i--) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue