[PATCH 00/11] ASoC: use pm_runtime_resume_and_get() when possible

Cezary Rojewski cezary.rojewski at intel.com
Fri Jun 17 14:21:26 CEST 2022


On 2022-06-17 12:04 AM, Pierre-Louis Bossart wrote:
> 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.
> 
> Pierre-Louis Bossart (11):
>    ASoC: Intel: catpt: use pm_runtime_resume_and_get()
>    ASoC: Intel: skylake: skl-pcm: use pm_runtime_resume_and_get()
>    ASoC: soc-component: use pm_runtime_resume_and_get()
>    ASoC: wcd-mbhc-v2: use pm_runtime_resume_and_get()
>    ASoC: wsa881x: use pm_runtime_resume_and_get()
>    ASoC: rockchip: i2s_tdm: use pm_runtime_resume_and_get()
>    ASoC: fsl: fsl_sai: use pm_runtime_resume_and_get()
>    ASoC: img: img-i2s-out: use pm_runtime_resume_and_get()
>    ASoC: rockchip: pdm: use pm_runtime_resume_and_get()
>    ASoC: tas2552: use pm_runtime_resume_and_get()
>    ASoC: ti: davinci-mcasp: use pm_runtime_resume_and_get()


For the non-acked patches:

Reviewed-by: Cezary Rojewski <cezary.rojewski at intel.com>


More information about the Alsa-devel mailing list