From 9a88cc4870cc3806dac0177cbf36df2ab635914c Mon Sep 17 00:00:00 2001 From: hyperion70 Date: Sun, 27 Jan 2019 11:17:25 +0300 Subject: [PATCH] Disable sunwave FP --- drivers/input/fingerprint/Kconfig | 22 +++------------------- drivers/input/fingerprint/Makefile | 5 +---- 2 files changed, 4 insertions(+), 23 deletions(-) diff --git a/drivers/input/fingerprint/Kconfig b/drivers/input/fingerprint/Kconfig index 4ce3e4508..2bfb95410 100644 --- a/drivers/input/fingerprint/Kconfig +++ b/drivers/input/fingerprint/Kconfig @@ -15,7 +15,7 @@ config MTK_FINGERPRINT_SUPPORT if MTK_FINGERPRINT_SUPPORT config MTK_FINGERPRINT_SELECT string "sensor type" - default "SW9651" # [liguanxiong] defalut is sw9651 + default "GX556" if MTK_FINGERPRINT_SELECT = "FPC1145" @@ -31,29 +31,13 @@ config GOODIX_FINGERPRINT bool "Goodix Fingerprint" default y ---help--- - Goodix Fingerprint chip GF316M/GF318M/GF3118M/GF518M/GF5118M/GF516M/GF816M/GF3208/GF5216 TEE driver + Goodix Fingerprint chip GF316M/GF318M/GF3118M/GX556/GF5118M/GF516M/GF816M/GF3208/GF5216 TEE driver config GOODIX_SENSOR_TYPE string "SENSOR_TYPE" default "GF318M" ---help--- - Must input sensor type, or default is GF316M GF318M GF3118M GF518M GF5118M GF516M GF816M GF3208 GF5216 + Must input sensor type, or default is GF316M GF318M GF3118M GX556 GF5118M GF516M GF816M GF3208 GF5216 endif -# [liguanxiong start] Add for secondary fingerprint module sunwave sw9251 -if MTK_FINGERPRINT_SELECT = "SW9251" || MTK_FINGERPRINT_SELECT = "tplink_mult_sensor" -config SUNWAVE_FINGERPRINT_SW9251 - bool "Sunwave Fingerprint SW9251" - default y - ---help--- - Sunwave Fingerprint chip SW9251 REE driver -endif -if MTK_FINGERPRINT_SELECT = "SW9651" -config SUNWAVE_FINGERPRINT_SW9651 - bool "Sunwave Fingerprint SW9651" - default y - ---help--- - Sunwave Fingerprint chip SW9651 TEE driver -endif -# [liguanxiong end] endif endmenu diff --git a/drivers/input/fingerprint/Makefile b/drivers/input/fingerprint/Makefile index 84af8ce9b..135f96fff 100644 --- a/drivers/input/fingerprint/Makefile +++ b/drivers/input/fingerprint/Makefile @@ -4,7 +4,4 @@ obj-$(CONFIG_GOODIX_FINGERPRINT) += goodix/ obj-$(CONFIG_FPC_FINGERPRINT) += fpc/ -# [liguanxiong start] Add for secondary fingerprint module Sunwave sw9251 -obj-$(CONFIG_SUNWAVE_FINGERPRINT_SW9251) += sunwavecorp/ -obj-$(CONFIG_SUNWAVE_FINGERPRINT_SW9651) += sunwavecorp/tee/ -# [liguanxiong end] +