Skip to content

Commit 431e040

Browse files
claudiubezneabroonie
authored andcommitted
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 <claudiu.beznea.uj@bp.renesas.com> Link: https://patch.msgid.link/20241106081826.1211088-25-claudiu.beznea.uj@bp.renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 8412569 commit 431e040

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sound/soc/codecs/da7213.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2235,6 +2235,7 @@ static int __maybe_unused da7213_runtime_resume(struct device *dev)
22352235

22362236
static const struct dev_pm_ops da7213_pm = {
22372237
SET_RUNTIME_PM_OPS(da7213_runtime_suspend, da7213_runtime_resume, NULL)
2238+
SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, pm_runtime_force_resume)
22382239
};
22392240

22402241
static const struct i2c_device_id da7213_i2c_id[] = {

0 commit comments

Comments
 (0)