From 0326f6feb74070f69e2835ee39e8d326e52497ae Mon Sep 17 00:00:00 2001 From: Xihai Zhu Date: Mon, 9 Sep 2019 21:55:27 -0400 Subject: [PATCH] amvecm: minor fix for pattern detection function [1/1] PD#SWPL-13075 Problem: use the correct config option Solution: fix the wrong config option Verify: tl1 Change-Id: I87d3ba28c32fa77e12143522a4a342fdfe144af5 Signed-off-by: Xihai Zhu --- .../amlogic/media/enhancement/amvecm/pattern_detection.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/amlogic/media/enhancement/amvecm/pattern_detection.c b/drivers/amlogic/media/enhancement/amvecm/pattern_detection.c index ed0fb3022b73..0ff57155aa6e 100644 --- a/drivers/amlogic/media/enhancement/amvecm/pattern_detection.c +++ b/drivers/amlogic/media/enhancement/amvecm/pattern_detection.c @@ -29,7 +29,7 @@ #include "arch/vpp_regs.h" #include "amve.h" #include "pattern_detection.h" -#ifdef CONFIG_TVIN_AFE +#ifdef CONFIG_AMLOGIC_MEDIA_TVIN_AFE #include "pattern_detection_bar_settings.h" #include "pattern_detection_face_settings.h" #include "pattern_detection_corn_settings.h" @@ -181,7 +181,7 @@ static struct pattern pattern_list[] = { }, }; -#ifdef CONFIG_TVIN_AFE +#ifdef CONFIG_AMLOGIC_MEDIA_TVIN_AFE static void tvafe_get_default_regmap(struct am_regs_s *p) { unsigned short i; @@ -1001,7 +1001,7 @@ int pattern_detect_add_vpp_setting_table( int init_pattern_detect(void) { /* install callback for color bar */ -#ifdef CONFIG_TVIN_AFE +#ifdef CONFIG_AMLOGIC_MEDIA_TVIN_AFE pattern_detect_add_checker( PATTERN_75COLORBAR, colorbar_hist_checker);