[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20231110144709.33z7qdl3dvb6pjkj@pengutronix.de>
Date: Fri, 10 Nov 2023 15:47:09 +0100
From: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
To: Syed Saba Kareem <Syed.SabaKareem@....com>
Cc: broonie@...nel.org, alsa-devel@...a-project.org,
Vijendar.Mukunda@....com, Basavaraj.Hiregoudar@....com,
Sunil-kumar.Dommati@....com, mario.limonciello@....com,
Richard.Gong@....com, posteuca@...ex.one,
Liam Girdwood <lgirdwood@...il.com>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>,
Nicolas Ferre <nicolas.ferre@...rochip.com>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] ASoC: amd: acp: add pm ops support for renoir
platform Add pm ops for renoir platform.
Hello,
the subject should be deduplicated.
On Fri, Nov 10, 2023 at 06:22:10PM +0530, Syed Saba Kareem wrote:
> +static int __maybe_unused rn_pcm_resume(struct device *dev)
If you use DEFINE_SIMPLE_DEV_PM_OPS below, you can drop the
__maybe_unused here.
> +{
> [...]
> +}
> +
> +static const struct dev_pm_ops rn_dma_pm_ops = {
> + SET_SYSTEM_SLEEP_PM_OPS(NULL, rn_pcm_resume)
> +};
> +
> static struct platform_driver renoir_driver = {
> .probe = renoir_audio_probe,
> .remove_new = renoir_audio_remove,
> .driver = {
> .name = "acp_asoc_renoir",
> + .pm = &rn_dma_pm_ops,
> },
> };
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists