From 8f5a2cd4273d42479fd876bcb99f1c3a62b918d6 Mon Sep 17 00:00:00 2001 From: Anand Ravi Date: Tue, 15 Sep 2020 14:56:16 -0700 Subject: [PATCH] msm: camera: isp: Print context on release HW error Print the context id in the error statement when release_hw is called in top state with no hw resources acquired. CRs-Fixed: 2709537 Change-Id: Ic153cc7f92cfc15a56e7989b0337a4e051af4c43 Signed-off-by: Anand Ravi --- drivers/cam_isp/cam_isp_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cam_isp/cam_isp_context.c b/drivers/cam_isp/cam_isp_context.c index d8847b00a4fd..069a45bab1a6 100644 --- a/drivers/cam_isp/cam_isp_context.c +++ b/drivers/cam_isp/cam_isp_context.c @@ -3998,7 +3998,7 @@ static int __cam_isp_ctx_release_hw_in_top_state(struct cam_context *ctx, &rel_arg); ctx_isp->hw_ctx = NULL; } else { - CAM_ERR(CAM_ISP, "No hw resources acquired for this ctx"); + CAM_ERR(CAM_ISP, "No hw resources acquired for ctx[%u]", ctx->ctx_id); } ctx->last_flush_req = 0;