From: Mark Brown Date: Tue, 28 Jun 2022 10:30:10 +0000 (+0100) Subject: ASoC: use pm_runtime_resume_and_get() when possible X-Git-Tag: v6.0-rc1~93^2~8^2~37^2~64 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1e0ec034dbcbc3ec2e6a4bdd6a0fbab8766d3ecd;p=thirdparty%2Fkernel%2Flinux.git ASoC: use pm_runtime_resume_and_get() when possible Merge series from Pierre-Louis Bossart : 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. --- 1e0ec034dbcbc3ec2e6a4bdd6a0fbab8766d3ecd