From 8c77f5b3ff7a4c764beeb1b13e853c452a1944cd Mon Sep 17 00:00:00 2001 From: yangjq Date: Tue, 4 Sep 2018 18:03:22 +0800 Subject: [PATCH] aw869x: Disable rtp data changing with battery voltage RTP data would overflow when being changed according to battery voltage, so disable this feature. Change-Id: I457b9ae0b25fa99acc1b2ba05c675d68167d5afb Signed-off-by: yangjq Reviewed-on: https://gerrit.mot.com/1237566 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Konstantin Makariev Submit-Approved: Jira Key --- drivers/misc/awinic/aw869x.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/awinic/aw869x.h b/drivers/misc/awinic/aw869x.h index e3639fdccd8d..dc039c820eb1 100644 --- a/drivers/misc/awinic/aw869x.h +++ b/drivers/misc/awinic/aw869x.h @@ -44,7 +44,7 @@ #define HAPTIC_MAX_TIMEOUT 10000 -#define AW869X_HAPTIC_VBAT_MONITOR +//#define AW869X_HAPTIC_VBAT_MONITOR #ifdef AW869X_HAPTIC_VBAT_MONITOR #define SYS_BAT_DEV "/sys/class/power_supply/battery/voltage_now"