ASoC: mediatek: mt8192-afe-pcm: Convert to devm_pm_runtime_enable()
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 13 Mar 2024 11:01:26 +0000 (12:01 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 25 Mar 2024 14:19:05 +0000 (14:19 +0000)
commit7aaaa22de56ce0dae15fd9f42a69a1d1a7a6e078
treeb55c1fa1b260c64b94a49b32d190273ad33df90d
parent4cece764965020c22cff7665b18a012006359095
ASoC: mediatek: mt8192-afe-pcm: Convert to devm_pm_runtime_enable()

Switch from pm_runtime_enable() to devm_pm_runtime_enable(), allowing
to remove all gotos from the probe function.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://msgid.link/r/20240313110147.1267793-2-angelogioacchino.delregno@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8192/mt8192-afe-pcm.c