From 3cc95210b9be5e2308978cfc493abb361de4df5a Mon Sep 17 00:00:00 2001 From: "Kevin F. Haggerty" Date: Wed, 28 Sep 2016 05:48:24 -0600 Subject: [PATCH] drivers: fingerprint: Kill FEATURE_SPI_WAKELOCK * Phone doesn't sleep at all with this "feature" enabled * FP behavior is seemingly equivalent to the valditiyservice implementation with this gone * Yeah, hacky, but so is the driver implementation Change-Id: Id2be5c6189b0ee18779e03d9d6a62014653c27a8 --- drivers/fingerprint/fingerprint.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/fingerprint/fingerprint.h b/drivers/fingerprint/fingerprint.h index f457328f1b99..1aa3efee66af 100644 --- a/drivers/fingerprint/fingerprint.h +++ b/drivers/fingerprint/fingerprint.h @@ -21,8 +21,8 @@ #include -#ifdef ENABLE_SENSORS_FPRINT_SECURE -#define FEATURE_SPI_WAKELOCK +#ifdef FEATURE_SPI_WAKELOCK +#undef FEATURE_SPI_WAKELOCK #endif /* fingerprint debug timer */