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:
Karthik Anantha Ram
2019-08-23 17:28:48 -07:00
committed by Gerrit - the friendly Code Review server
parent 6678f1003b
commit 72eeacf17a
2 changed files with 3 additions and 3 deletions

View File

@@ -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;