From: Shengjiu Wang <shengjiu.wang@nxp.com> Date: Wed, 9 Mar 2022 10:38:13 +0000 (+0800) Subject: ASoC: fsl_rpmsg: Remove SET_SYSTEM_SLEEP_PM_OPS callback X-Git-Tag: baikal/aarch64/sdk6.1~4422^2~7^2~41 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=c42d9430e1c21006b724196e3e8a4aaa9e9c42a4;p=kernel.git ASoC: fsl_rpmsg: Remove SET_SYSTEM_SLEEP_PM_OPS callback For sound need to be continuously output at suspend with rpmsg sound card, so need to keep the clock always on at suspend, then suspend & resume callback is not needed. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Link: https://lore.kernel.org/r/1646822293-26965-1-git-send-email-shengjiu.wang@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org> --- diff --git a/sound/soc/fsl/fsl_rpmsg.c b/sound/soc/fsl/fsl_rpmsg.c index 8508bc7f239db..19fd312508839 100644 --- a/sound/soc/fsl/fsl_rpmsg.c +++ b/sound/soc/fsl/fsl_rpmsg.c @@ -297,8 +297,6 @@ static const struct dev_pm_ops fsl_rpmsg_pm_ops = { SET_RUNTIME_PM_OPS(fsl_rpmsg_runtime_suspend, fsl_rpmsg_runtime_resume, NULL) - SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, - pm_runtime_force_resume) }; static struct platform_driver fsl_rpmsg_driver = {