Pierre-Louis Bossart 3e6f9c20bd soundwire: bus: disable pm_runtime in sdw_slave_delete
[ Upstream commit dff70572e9a3a1a01d9dbc2279faa784d95f41b6 ]

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
..
2019-08-23 12:01:02 +05:30
2019-08-23 12:01:02 +05:30
2019-05-27 10:53:00 +05:30
2019-10-15 16:15:58 +05:30
2019-09-22 10:52:23 -07:00