mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
soc: soundwire: Reduce soundwire runtime suspend delay
Reduce soundwire runtime suspend delay for soundwire to enter into sleep early once the usecase ends. Change-Id: Idbace0fbe9363f487165865eacf5b85d3be86477 Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
This commit is contained in:
parent
06ed8063cd
commit
c7cc20abc0
1 changed files with 1 additions and 2 deletions
|
|
@ -41,7 +41,6 @@
|
|||
#define SWRM_DSD_PARAMS_PORT 4
|
||||
|
||||
#define SWR_BROADCAST_CMD_ID 0x0F
|
||||
#define SWR_AUTO_SUSPEND_DELAY 1 /* delay in sec */
|
||||
#define SWR_DEV_ID_MASK 0xFFFFFFFFFFFF
|
||||
#define SWR_REG_VAL_PACK(data, dev, id, reg) \
|
||||
((reg) | ((id) << 16) | ((dev) << 20) | ((data) << 24))
|
||||
|
|
@ -82,7 +81,7 @@
|
|||
#define SWRM_DP_PORT_CTRL_OFFSET1_SHFT 0x08
|
||||
|
||||
/* pm runtime auto suspend timer in msecs */
|
||||
static int auto_suspend_timer = SWR_AUTO_SUSPEND_DELAY * 1000;
|
||||
static int auto_suspend_timer = 500;
|
||||
module_param(auto_suspend_timer, int, 0664);
|
||||
MODULE_PARM_DESC(auto_suspend_timer, "timer for auto suspend");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue