ASoC: codecs: wm8962: using pm_runtime_resume_and_get instead of pm_runtime_get_sync
authorMinghao Chi <chi.minghao@zte.com.cn>
Mon, 18 Apr 2022 11:02:59 +0000 (11:02 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 19 Apr 2022 11:04:08 +0000 (12:04 +0100)
commite65f2fce08fc708e65b544131999bdd933d09164
treec2547cb7f6b0411b413f01991fc75dc30fa6829b
parent0a8ff26dea6e9aeb11db3f1af9fc1848b7042661
ASoC: codecs: wm8962: using pm_runtime_resume_and_get instead of pm_runtime_get_sync

Using pm_runtime_resume_and_get is more appropriate
for simplifing code

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220418110259.2559144-1-chi.minghao@zte.com.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8962.c