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:

committed by
Gerrit - the friendly Code Review server

parent
6678f1003b
commit
72eeacf17a
@@ -3841,14 +3841,14 @@ static int __cam_isp_ctx_apply_req(struct cam_context *ctx,
|
|||||||
if (ctx_ops->crm_ops.apply_req) {
|
if (ctx_ops->crm_ops.apply_req) {
|
||||||
rc = ctx_ops->crm_ops.apply_req(ctx, apply);
|
rc = ctx_ops->crm_ops.apply_req(ctx, apply);
|
||||||
} else {
|
} else {
|
||||||
CAM_ERR_RATE_LIMIT(CAM_ISP,
|
CAM_WARN_RATE_LIMIT(CAM_ISP,
|
||||||
"No handle function in activated substate %d",
|
"No handle function in activated substate %d",
|
||||||
ctx_isp->substate_activated);
|
ctx_isp->substate_activated);
|
||||||
rc = -EFAULT;
|
rc = -EFAULT;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rc)
|
if (rc)
|
||||||
CAM_ERR_RATE_LIMIT(CAM_ISP,
|
CAM_WARN_RATE_LIMIT(CAM_ISP,
|
||||||
"Apply failed in active substate %d rc %d",
|
"Apply failed in active substate %d rc %d",
|
||||||
ctx_isp->substate_activated, rc);
|
ctx_isp->substate_activated, rc);
|
||||||
return rc;
|
return rc;
|
||||||
|
@@ -631,7 +631,7 @@ static int __cam_req_mgr_send_req(struct cam_req_mgr_core_link *link,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (rc < 0) {
|
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);
|
dev->dev_info.p_delay, apply_req.request_id);
|
||||||
/* Apply req failed notify already applied devs */
|
/* Apply req failed notify already applied devs */
|
||||||
for (; i >= 0; i--) {
|
for (; i >= 0; i--) {
|
||||||
|
Reference in New Issue
Block a user