Skip to content

Commit

Permalink
Disable sunwave FP
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperion70 committed Jan 27, 2019
1 parent 5e6ed67 commit 9a88cc4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 23 deletions.
22 changes: 3 additions & 19 deletions drivers/input/fingerprint/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
5 changes: 1 addition & 4 deletions drivers/input/fingerprint/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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]

0 comments on commit 9a88cc4

Please sign in to comment.