From: Claudiu Beznea Date: Wed, 6 Nov 2024 08:18:19 +0000 (+0200) Subject: ASoC: da7213: Add suspend to RAM support X-Git-Tag: v6.13-rc1~123^2~2^2~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=431e040065c814448ffcc2fac493f7dbbfb2e796;p=thirdparty%2Fkernel%2Flinux.git ASoC: da7213: Add suspend to RAM support Add suspend to RAM support. This uses the already available runtime PM support. Signed-off-by: Claudiu Beznea Link: https://patch.msgid.link/20241106081826.1211088-25-claudiu.beznea.uj@bp.renesas.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/da7213.c b/sound/soc/codecs/da7213.c index 4298ca77fa30f..01c78f8032c4d 100644 --- a/sound/soc/codecs/da7213.c +++ b/sound/soc/codecs/da7213.c @@ -2235,6 +2235,7 @@ static int __maybe_unused da7213_runtime_resume(struct device *dev) static const struct dev_pm_ops da7213_pm = { SET_RUNTIME_PM_OPS(da7213_runtime_suspend, da7213_runtime_resume, NULL) + SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, pm_runtime_force_resume) }; static const struct i2c_device_id da7213_i2c_id[] = {