linux-stable/drivers/soundwire
Srinivas Kandagatla 89401b5e9c soundwire: qcom: adjust autoenumeration timeout
[ Upstream commit 74da272400 ]

Currently timeout for autoenumeration during probe and bus reset is set to
2 secs which is really a big value. This can have an adverse effect on
boot time if the slave device is not ready/reset.
This was the case with wcd938x which was not reset yet but we spent 2
secs waiting in the soundwire controller probe. Reduce this time to
1/10 of Hz which should be good enough time to finish autoenumeration
if any slaves are available on the bus.

Reported-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20220506084705.18525-1-srinivas.kandagatla@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-14 18:36:21 +02:00
..
bus.c soundwire: bus: stop dereferencing invalid slave pointer 2021-11-18 19:16:54 +01:00
bus.h
bus_type.c
cadence_master.c
cadence_master.h
debugfs.c soundwire: debugfs: use controller id and link_id for debugfs 2021-11-18 19:16:49 +01:00
dmi-quirks.c ASoC: Intel: sof_sdw: fix quirks for 2022 HP Spectre x360 13" 2022-04-08 14:24:02 +02:00
generic_bandwidth_allocation.c
intel.c soundwire: intel: prevent pm_runtime resume prior to system suspend 2022-06-14 18:36:06 +02:00
intel.h
intel_init.c
Kconfig
Makefile
master.c
mipi_disco.c
qcom.c soundwire: qcom: adjust autoenumeration timeout 2022-06-14 18:36:21 +02:00
slave.c
stream.c
sysfs_local.h
sysfs_slave.c
sysfs_slave_dpn.c