All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vinod Koul <vinod.koul@intel.com>
To: alsa-devel@alsa-project.org
Cc: Vinod Koul <vinod.koul@intel.com>,
	broonie@kernel.org, lgirdwood@gmail.com
Subject: [PATCH 08/13] ASoC: Intel: reset the DSP while suspending
Date: Thu, 12 Feb 2015 10:00:00 +0530	[thread overview]
Message-ID: <1423715405-4562-9-git-send-email-vinod.koul@intel.com> (raw)
In-Reply-To: <1423715405-4562-1-git-send-email-vinod.koul@intel.com>

The manual recommends that we reset the DSP when we suspend so add that in
runtime suspend handler

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
---
 sound/soc/intel/sst/sst.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/intel/sst/sst.c b/sound/soc/intel/sst/sst.c
index 0fb1b0ea164c..ea85789641f2 100644
--- a/sound/soc/intel/sst/sst.c
+++ b/sound/soc/intel/sst/sst.c
@@ -412,6 +412,7 @@ static int intel_sst_runtime_suspend(struct device *dev)
 	synchronize_irq(ctx->irq_num);
 	flush_workqueue(ctx->post_msg_wq);
 
+	ctx->ops->reset(ctx);
 	/* save the shim registers because PMC doesn't save state */
 	sst_save_shim64(ctx, ctx->shim, ctx->shim_regs64);
 
-- 
1.7.9.5

  parent reply	other threads:[~2015-02-12  4:32 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-12  4:29 [PATCH 00/13] ASoC: Intel: BSW driver updates Vinod Koul
2015-02-12  4:29 ` [PATCH 01/13] ASoC: core: allow pcms to be registered as nonatomic Vinod Koul
2015-02-12  4:29 ` [PATCH 02/13] ASoC: Intel: mark cht machine driver with nonatomic trigger Vinod Koul
2015-02-12  4:29 ` [PATCH 03/13] ASoC: Intel: update MMX ID to 3 Vinod Koul
2015-02-12  4:29 ` [PATCH 04/13] ASoC: Intel: add support for pause and resume in sst Vinod Koul
2015-02-12  4:29 ` [PATCH 05/13] ASoC: Intel: add support for pcm stream suspend/resume Vinod Koul
2015-02-12  4:29 ` [PATCH 06/13] ASoC: Intel: add support for platform suspend Vinod Koul
2015-02-12  4:29 ` [PATCH 07/13] ASoC: Intel: save and restore the CSR register Vinod Koul
2015-02-12  4:30 ` Vinod Koul [this message]
2015-02-12  4:30 ` [PATCH 09/13] ASoC: Intel: Add memcpy32_fromio as well Vinod Koul
2015-02-12  4:30 ` [PATCH 10/13] ASoC: Intel: add pm support in sst ipc driver Vinod Koul
2015-02-23 15:45   ` Mark Brown
2015-02-23 16:54     ` Vinod Koul
2015-02-24  7:54       ` Mark Brown
2015-02-12  4:30 ` [PATCH 11/13] ASoC: Intel: Move the fw download to power_control Vinod Koul
2015-02-12  4:30 ` [PATCH 12/13] ASoC: Intel: Remove ignore suspend support Vinod Koul
2015-02-12  4:30 ` [PATCH 13/13] ASoC: Intel: Remove soc pm handling to allow platform driver handle it Vinod Koul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1423715405-4562-9-git-send-email-vinod.koul@intel.com \
    --to=vinod.koul@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.