From 11874984b425f9b653357a23f7a3c90ce6f0431f Mon Sep 17 00:00:00 2001 From: Depeng Shao Date: Wed, 14 Jun 2023 16:23:15 +0800 Subject: [PATCH] msm: camera: isp: Add notify frame skip for bubble applied substate For sHDR usecase, we may enter bubble applied substate, then isp trigger bubble recovery again, we need isp to apply default setting in this case. This change adds notify frame skip interface for bubble applied substate to apply the default settings. CRs-Fixed: 3533564 Change-Id: Ie82aa73786902328b21909ba958d0a225ed49916 Signed-off-by: Depeng Shao --- drivers/cam_isp/cam_isp_context.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/cam_isp/cam_isp_context.c b/drivers/cam_isp/cam_isp_context.c index 9c4656ad55..91cfc14733 100644 --- a/drivers/cam_isp/cam_isp_context.c +++ b/drivers/cam_isp/cam_isp_context.c @@ -5683,7 +5683,10 @@ static struct cam_ctx_ops /* Bubble Applied */ { .ioctl_ops = {}, - .crm_ops = {}, + .crm_ops = { + .notify_frame_skip = + __cam_isp_ctx_apply_default_req_settings, + }, .irq_ops = NULL, }, /* HW ERROR */