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 <xihai.zhu@amlogic.com>
This commit is contained in:
Xihai Zhu
2019-09-09 21:55:27 -04:00
parent 07845cf6b0
commit 0326f6feb7

View File

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