linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [alsa-devel] [PATCH] ASoC: cs42xx8: Force suspend/resume during system suspend/resume
  2019-08-27 22:13 [PATCH] ASoC: cs42xx8: Force suspend/resume during system suspend/resume Shengjiu Wang
@ 2019-08-27 12:09 ` Daniel Baluta
  2019-08-27 19:57 ` Applied "ASoC: cs42xx8: Force suspend/resume during system suspend/resume" to the asoc tree Mark Brown
  2019-08-29 10:03 ` [alsa-devel] [PATCH] ASoC: cs42xx8: Force suspend/resume during system suspend/resume Daniel Baluta
  2 siblings, 0 replies; 4+ messages in thread
From: Daniel Baluta @ 2019-08-27 12:09 UTC (permalink / raw)
  To: Shengjiu Wang
  Cc: brian.austin, Paul.Handrigan, Liam Girdwood, Mark Brown,
	Jaroslav Kysela, Takashi Iwai, Linux-ALSA,
	Linux Kernel Mailing List

On Tue, Aug 27, 2019 at 1:15 PM Shengjiu Wang <shengjiu.wang@nxp.com> wrote:
>
> Use force_suspend/resume to make sure clocks are disabled/enabled
> accordingly during system suspend/resume.
>
> Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>

Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>

> ---
>  sound/soc/codecs/cs42xx8.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/sound/soc/codecs/cs42xx8.c b/sound/soc/codecs/cs42xx8.c
> index 5b049fcdba20..94b1adb088fd 100644
> --- a/sound/soc/codecs/cs42xx8.c
> +++ b/sound/soc/codecs/cs42xx8.c
> @@ -684,6 +684,8 @@ static int cs42xx8_runtime_suspend(struct device *dev)
>  #endif
>
>  const struct dev_pm_ops cs42xx8_pm = {
> +       SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
> +                               pm_runtime_force_resume)
>         SET_RUNTIME_PM_OPS(cs42xx8_runtime_suspend, cs42xx8_runtime_resume, NULL)
>  };
>  EXPORT_SYMBOL_GPL(cs42xx8_pm);
> --
> 2.21.0
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Applied "ASoC: cs42xx8: Force suspend/resume during system suspend/resume" to the asoc tree
  2019-08-27 22:13 [PATCH] ASoC: cs42xx8: Force suspend/resume during system suspend/resume Shengjiu Wang
  2019-08-27 12:09 ` [alsa-devel] " Daniel Baluta
@ 2019-08-27 19:57 ` Mark Brown
  2019-08-29 10:03 ` [alsa-devel] [PATCH] ASoC: cs42xx8: Force suspend/resume during system suspend/resume Daniel Baluta
  2 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2019-08-27 19:57 UTC (permalink / raw)
  To: Shengjiu Wang
  Cc: alsa-devel, brian.austin, broonie, Dong Aisheng, lgirdwood,
	linux-kernel, Mark Brown, Paul.Handrigan, perex, tiwai

The patch

   ASoC: cs42xx8: Force suspend/resume during system suspend/resume

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From b429ca49406501e2c48c2a137eab12910c21ad0c Mon Sep 17 00:00:00 2001
From: Shengjiu Wang <shengjiu.wang@nxp.com>
Date: Tue, 27 Aug 2019 18:13:46 -0400
Subject: [PATCH] ASoC: cs42xx8: Force suspend/resume during system
 suspend/resume

Use force_suspend/resume to make sure clocks are disabled/enabled
accordingly during system suspend/resume.

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://lore.kernel.org/r/1566944026-18113-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/cs42xx8.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/cs42xx8.c b/sound/soc/codecs/cs42xx8.c
index 5b049fcdba20..94b1adb088fd 100644
--- a/sound/soc/codecs/cs42xx8.c
+++ b/sound/soc/codecs/cs42xx8.c
@@ -684,6 +684,8 @@ static int cs42xx8_runtime_suspend(struct device *dev)
 #endif
 
 const struct dev_pm_ops cs42xx8_pm = {
+	SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
+				pm_runtime_force_resume)
 	SET_RUNTIME_PM_OPS(cs42xx8_runtime_suspend, cs42xx8_runtime_resume, NULL)
 };
 EXPORT_SYMBOL_GPL(cs42xx8_pm);
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] ASoC: cs42xx8: Force suspend/resume during system suspend/resume
@ 2019-08-27 22:13 Shengjiu Wang
  2019-08-27 12:09 ` [alsa-devel] " Daniel Baluta
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Shengjiu Wang @ 2019-08-27 22:13 UTC (permalink / raw)
  To: brian.austin, Paul.Handrigan, lgirdwood, broonie, perex, tiwai,
	alsa-devel, linux-kernel

Use force_suspend/resume to make sure clocks are disabled/enabled
accordingly during system suspend/resume.

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
---
 sound/soc/codecs/cs42xx8.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/cs42xx8.c b/sound/soc/codecs/cs42xx8.c
index 5b049fcdba20..94b1adb088fd 100644
--- a/sound/soc/codecs/cs42xx8.c
+++ b/sound/soc/codecs/cs42xx8.c
@@ -684,6 +684,8 @@ static int cs42xx8_runtime_suspend(struct device *dev)
 #endif
 
 const struct dev_pm_ops cs42xx8_pm = {
+	SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
+				pm_runtime_force_resume)
 	SET_RUNTIME_PM_OPS(cs42xx8_runtime_suspend, cs42xx8_runtime_resume, NULL)
 };
 EXPORT_SYMBOL_GPL(cs42xx8_pm);
-- 
2.21.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [alsa-devel] [PATCH] ASoC: cs42xx8: Force suspend/resume during system suspend/resume
  2019-08-27 22:13 [PATCH] ASoC: cs42xx8: Force suspend/resume during system suspend/resume Shengjiu Wang
  2019-08-27 12:09 ` [alsa-devel] " Daniel Baluta
  2019-08-27 19:57 ` Applied "ASoC: cs42xx8: Force suspend/resume during system suspend/resume" to the asoc tree Mark Brown
@ 2019-08-29 10:03 ` Daniel Baluta
  2 siblings, 0 replies; 4+ messages in thread
From: Daniel Baluta @ 2019-08-29 10:03 UTC (permalink / raw)
  To: linux-kernel, Paul.Handrigan, broonie, tiwai, lgirdwood,
	S.j. Wang, brian.austin, perex, alsa-devel

On Tue, 2019-08-27 at 18:13 -0400, Shengjiu Wang wrote:
> Use force_suspend/resume to make sure clocks are disabled/enabled
> accordingly during system suspend/resume.
> 
> Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>

Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>

> ---
>  sound/soc/codecs/cs42xx8.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/sound/soc/codecs/cs42xx8.c b/sound/soc/codecs/cs42xx8.c
> index 5b049fcdba20..94b1adb088fd 100644
> --- a/sound/soc/codecs/cs42xx8.c
> +++ b/sound/soc/codecs/cs42xx8.c
> @@ -684,6 +684,8 @@ static int cs42xx8_runtime_suspend(struct device
> *dev)
>  #endif
>  
>  const struct dev_pm_ops cs42xx8_pm = {
> +	SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
> +				pm_runtime_force_resume)
>  	SET_RUNTIME_PM_OPS(cs42xx8_runtime_suspend,
> cs42xx8_runtime_resume, NULL)
>  };
>  EXPORT_SYMBOL_GPL(cs42xx8_pm);

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-08-29 10:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-27 22:13 [PATCH] ASoC: cs42xx8: Force suspend/resume during system suspend/resume Shengjiu Wang
2019-08-27 12:09 ` [alsa-devel] " Daniel Baluta
2019-08-27 19:57 ` Applied "ASoC: cs42xx8: Force suspend/resume during system suspend/resume" to the asoc tree Mark Brown
2019-08-29 10:03 ` [alsa-devel] [PATCH] ASoC: cs42xx8: Force suspend/resume during system suspend/resume Daniel Baluta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).