soundwire: cadence: reduce timeout on transactions
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 15 Jan 2021 06:16:51 +0000 (14:16 +0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 19 Jan 2021 14:51:20 +0000 (20:21 +0530)
commit0cff991179918f5618fdac7d65b7149bff6b3747
tree96a75e3f0c033e10df6f81f945bb599e75faa017
parent235ae89b66767652f9e9e10946b8a38caf6a26f6
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>
drivers/soundwire/cadence_master.c