Merge "soc: soundwire: Reduce soundwire runtime suspend delay"

This commit is contained in:
qctecmdr
2020-06-29 11:21:31 -07:00
committed by Gerrit - the friendly Code Review server

View File

@@ -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");