summaryrefslogtreecommitdiffstats
path: root/tools/lib/python
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2020-08-17 23:29:14 +0800
committerVinod Koul <vkoul@kernel.org>2020-08-18 12:01:04 +0530
commitcb1e6d59e89ce272a67e6dc22e9ec72df622fb1b (patch)
tree1d57672c8d579e30651f04ef7ac659a601db1282 /tools/lib/python
parentb61b8b37888ab13d4bf1b8f406713d51f01568cf (diff)
downloadlinux-cb1e6d59e89ce272a67e6dc22e9ec72df622fb1b.tar.gz
linux-cb1e6d59e89ce272a67e6dc22e9ec72df622fb1b.zip
soundwire: intel: fix race condition on system resume
Previous patches took care of the case where the master device is pm_runtime 'suspended' when a system suspend occurs. In the case where the master device was not suspended, e.g. if suspend occurred while streaming audio, Intel validation noticed a race condition: the pm_runtime suspend may conflict with the enumeration started by the system resume. This can be simply fixed by updating the status before exiting system resume. GitHub issue: https://github.com/thesofproject/linux/issues/1482 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20200817152923.3259-4-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions