diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-01-15 03:08:41 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-02-25 13:27:02 +0300 |
commit | dff70572e9a3a1a01d9dbc2279faa784d95f41b6 (patch) | |
tree | 0c4499562f632b06c384326f4a2a05a57a661859 /scripts/atomic | |
parent | 3ab2ca405a08c34c9b8b54a02b6d0e29821e73c8 (diff) | |
download | linux-dff70572e9a3a1a01d9dbc2279faa784d95f41b6.tar.xz |
soundwire: bus: disable pm_runtime in sdw_slave_delete
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>
Diffstat (limited to 'scripts/atomic')
0 files changed, 0 insertions, 0 deletions