mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 08:08:54 +00:00
soundwire: cadence: reduce timeout on transactions
Currently the timeout for SoundWire individual transactions is 2s. This is too large in comparison with the enumeration and completion timeouts used in codec drivers. A command will typically be handled in less than 100us, so 500ms for the command completion is more than generous. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20210115061651.9740-3-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
235ae89b66
commit
0cff991179
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ MODULE_PARM_DESC(cdns_mcp_int_mask, "Cadence MCP IntMask");
|
|||
#define CDNS_PDI_CONFIG_PORT GENMASK(4, 0)
|
||||
|
||||
/* Driver defaults */
|
||||
#define CDNS_TX_TIMEOUT 2000
|
||||
#define CDNS_TX_TIMEOUT 500
|
||||
|
||||
#define CDNS_SCP_RX_FIFOLEVEL 0x2
|
||||
|
||||
|
|
Loading…
Reference in a new issue