]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ASoC: use pm_runtime_resume_and_get() when possible
authorMark Brown <broonie@kernel.org>
Tue, 28 Jun 2022 10:30:10 +0000 (11:30 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 28 Jun 2022 10:30:10 +0000 (11:30 +0100)
Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:

After a set of SOF-specific changes, this patchset correct problematic
uses of pm_runtime_get_sync() in ASoC, or simplifies the flow with no
functional changes. Two patches for Intel platforms also add a test on
resume success.

Additional changes were initially suggested to completely remove the
use of pm_runtime_get_sync(). These changes were dropped since they
are way too invasive, specifically in cases where the return values
were not tested, which would lead to duplicate pm_runtime_put(). The
remaining uses of pm_runtime_get_sync() cannot really be blindly
modified without context and knowledge of each driver.


Trivial merge