mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
c40d6b3249
The soundwire subsystem uses two completion structures that allow drivers to wait for soundwire device to become enumerated on the bus and initialised by their drivers, respectively. The code implementing the signalling is currently broken as it does not signal all current and future waiters and also uses the wrong reinitialisation function, which can potentially lead to memory corruption if there are still waiters on the queue. Not signalling future waiters specifically breaks sound card probe deferrals as codec drivers can not tell that the soundwire device is already attached when being reprobed. Some codec runtime PM implementations suffer from similar problems as waiting for enumeration during resume can also timeout despite the device already having been enumerated. Fixes: |
||
---|---|---|
.. | ||
amd_manager.c | ||
amd_manager.h | ||
bus_type.c | ||
bus.c | ||
bus.h | ||
cadence_master.c | ||
cadence_master.h | ||
debugfs.c | ||
dmi-quirks.c | ||
generic_bandwidth_allocation.c | ||
intel_ace2x_debugfs.c | ||
intel_ace2x.c | ||
intel_auxdevice.c | ||
intel_auxdevice.h | ||
intel_bus_common.c | ||
intel_init.c | ||
intel.c | ||
intel.h | ||
Kconfig | ||
Makefile | ||
master.c | ||
mipi_disco.c | ||
qcom.c | ||
slave.c | ||
stream.c | ||
sysfs_local.h | ||
sysfs_slave_dpn.c | ||
sysfs_slave.c |