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) {
|
||||
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;
|
||||
|
Reference in New Issue
Block a user