1
0
Fork 0
alistair23-linux/drivers/soundwire
Pierre-Louis Bossart 3e6f9c20bd soundwire: bus: disable pm_runtime in sdw_slave_delete
[ Upstream commit dff70572e9 ]

Before removing the slave device, disable pm_runtime to prevent any
race condition with the resume being executed after the bus and slave
devices are removed.

Since this pm_runtime_disable() is handled in common routines,
implementations of Slave drivers do not need to call it in their
.remove() routine.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200115000844.14695-8-pierre-louis.bossart@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-01 13:17:36 +02:00
..
Kconfig
Makefile
bus.c soundwire: bus: disable pm_runtime in sdw_slave_delete 2020-10-01 13:17:36 +02:00
bus.h
bus_type.c
cadence_master.c soundwire: intel/cadence: fix startup sequence 2020-10-01 13:17:13 +02:00
cadence_master.h soundwire: intel/cadence: fix startup sequence 2020-10-01 13:17:13 +02:00
debugfs.c
intel.c soundwire: intel/cadence: fix startup sequence 2020-10-01 13:17:13 +02:00
intel.h
intel_init.c
mipi_disco.c
slave.c
stream.c soundwire: fix double free of dangling pointer 2020-09-17 13:47:43 +02:00