]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: fsl_rpmsg: Fix error handler with pm_runtime_enable
authorChancel Liu <chancel.liu@nxp.com>
Mon, 25 Dec 2023 08:06:08 +0000 (17:06 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Jan 2024 16:10:23 +0000 (17:10 +0100)
commit811604fb02c441acb41cd0ff64ce0c2dc5ec1edc
tree07c94748eadd3e416e063cc5760347178e5793a0
parentc3a37dc1568581a94c1b6008369e9a9d9723eccb
ASoC: fsl_rpmsg: Fix error handler with pm_runtime_enable

[ Upstream commit f9d378fc68c43fd41b35133edec9cd902ec334ec ]

There is error message when defer probe happens:

fsl_rpmsg rpmsg_audio: Unbalanced pm_runtime_enable!

Fix the error handler with pm_runtime_enable.

Fixes: b73d9e6225e8 ("ASoC: fsl_rpmsg: Add CPU DAI driver for audio base on rpmsg")
Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Link: https://lore.kernel.org/r/20231225080608.967953-1-chancel.liu@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/fsl/fsl_rpmsg.c