From eb1fdd1afcc1b22974069c22a04fbef53222c1bd Mon Sep 17 00:00:00 2001 From: Mangesh Kunchamwar Date: Mon, 19 Nov 2018 16:17:28 +0530 Subject: [PATCH] msm: update auto suspend delay for voting LPASS NPA resource Reduce auto suspend delay to 100ms from 1500ms for voting LPASS NPA resource to reduce delay in entering LPASS into island mode. Change-Id: Ic38f7b9e8d794963e51c30dfd03da586bca84bd2 Signed-off-by: Mangesh Kunchamwar --- asoc/codecs/bolero/bolero-cdc.c | 2 +- asoc/codecs/bolero/va-macro.c | 2 +- soc/pinctrl-lpi.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/asoc/codecs/bolero/bolero-cdc.c b/asoc/codecs/bolero/bolero-cdc.c index 07918a89aa51..da6cb2fa96a6 100644 --- a/asoc/codecs/bolero/bolero-cdc.c +++ b/asoc/codecs/bolero/bolero-cdc.c @@ -33,7 +33,7 @@ static struct snd_soc_codec_driver bolero; /* pm runtime auto suspend timer in msecs */ -#define BOLERO_AUTO_SUSPEND_DELAY 1500 /* delay in msec */ +#define BOLERO_AUTO_SUSPEND_DELAY 100 /* delay in msec */ /* MCLK_MUX table for all macros */ static u16 bolero_mclk_mux_tbl[MAX_MACRO][MCLK_MUX_MAX] = { diff --git a/asoc/codecs/bolero/va-macro.c b/asoc/codecs/bolero/va-macro.c index 820c4dfd857b..99b87396ec5d 100644 --- a/asoc/codecs/bolero/va-macro.c +++ b/asoc/codecs/bolero/va-macro.c @@ -25,7 +25,7 @@ #include "bolero-cdc-registers.h" /* pm runtime auto suspend timer in msecs */ -#define VA_AUTO_SUSPEND_DELAY 1500 /* delay in msec */ +#define VA_AUTO_SUSPEND_DELAY 100 /* delay in msec */ #define VA_MACRO_MAX_OFFSET 0x1000 #define VA_MACRO_NUM_DECIMATORS 8 diff --git a/soc/pinctrl-lpi.c b/soc/pinctrl-lpi.c index f6628bb860e4..279ec0000084 100644 --- a/soc/pinctrl-lpi.c +++ b/soc/pinctrl-lpi.c @@ -29,7 +29,7 @@ #include "core.h" #include "pinctrl-utils.h" -#define LPI_AUTO_SUSPEND_DELAY 1500 /* delay in msec */ +#define LPI_AUTO_SUSPEND_DELAY 100 /* delay in msec */ #define LPI_ADDRESS_SIZE 0x20000