From: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org,
"Dharageswari.R" <dharageswari.r@intel.com>,
Vinod Koul <vinod.koul@intel.com>,
liam.r.girdwood@linux.intel.com, patches.audio@intel.com,
broonie@kernel.org, Jeeja KP <jeeja.kp@intel.com>
Subject: Applied "ASoC: Intel: Skylake: Prevent sending Set DMA Control IPC if the widget is "On"" to the asoc tree
Date: Mon, 02 May 2016 12:03:36 +0100 [thread overview]
Message-ID: <E1axBdY-0001Wv-OB@debutante> (raw)
In-Reply-To: <1461849329-20364-4-git-send-email-vinod.koul@intel.com>
The patch
ASoC: Intel: Skylake: Prevent sending Set DMA Control IPC if the widget is "On"
has been applied to the asoc tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
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 1a13b1fafffd41c12a7068c4aa74f5a1d2210a07 Mon Sep 17 00:00:00 2001
From: "Dharageswari.R" <dharageswari.r@intel.com>
Date: Thu, 28 Apr 2016 18:45:27 +0530
Subject: [PATCH] ASoC: Intel: Skylake: Prevent sending Set DMA Control IPC if
the widget is "On"
If widget of a playback or capture DAI is already On, then no
need not send the Set DMA Control IPC message to firmware.
Signed-off-by: Dharageswari R <dharageswari.r@intel.com>
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/intel/skylake/skl-pcm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/intel/skylake/skl-pcm.c b/sound/soc/intel/skylake/skl-pcm.c
index dab0900eef26..4fcf5f830a8c 100644
--- a/sound/soc/intel/skylake/skl-pcm.c
+++ b/sound/soc/intel/skylake/skl-pcm.c
@@ -213,7 +213,7 @@ static int skl_be_prepare(struct snd_pcm_substream *substream,
struct skl_sst *ctx = skl->skl_sst;
struct skl_module_cfg *mconfig;
- if ((dai->playback_active > 1) || (dai->capture_active > 1))
+ if (dai->playback_widget->power || dai->capture_widget->power)
return 0;
mconfig = skl_tplg_be_get_cpr_module(dai, substream->stream);
--
2.8.1
next prev parent reply other threads:[~2016-05-02 11:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-28 13:15 [PATCH 0/5] ASoC: Intel: Skylake: Wov optimizations Vinod Koul
2016-04-28 13:15 ` [PATCH 1/5] ASoC: Intel: Skylake: Fix the NULL pointer exception in dsp_clean up Vinod Koul
2016-05-02 11:03 ` Applied "ASoC: Intel: Skylake: Fix the NULL pointer exception in dsp_clean up" to the asoc tree Mark Brown
2016-04-28 13:15 ` [PATCH 2/5] ASoC: Intel: Skylake: Fix memory leak during init instance Vinod Koul
2016-05-02 11:03 ` Applied "ASoC: Intel: Skylake: Fix memory leak during init instance" to the asoc tree Mark Brown
2016-04-28 13:15 ` [PATCH 3/5] ASoC: Intel: Skylake: Prevent sending Set DMA Control IPC if the widget is "On" Vinod Koul
2016-05-02 11:03 ` Mark Brown [this message]
2016-04-28 13:15 ` [PATCH 4/5] ASoC: Intel: Skylake: Suspend PCMs when marked as active suspend Vinod Koul
2016-05-02 11:03 ` Applied "ASoC: Intel: Skylake: Suspend PCMs when marked as active suspend" to the asoc tree Mark Brown
2016-04-28 13:15 ` [PATCH 5/5] ASoC: Intel: Boards: remove ignore_suspend for WoV streams Vinod Koul
2016-05-02 11:03 ` Applied "ASoC: Intel: Boards: remove ignore_suspend for WoV streams" to the asoc tree Mark Brown
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=E1axBdY-0001Wv-OB@debutante \
--to=broonie@kernel.org \
--cc=alsa-devel@alsa-project.org \
--cc=dharageswari.r@intel.com \
--cc=jeeja.kp@intel.com \
--cc=liam.r.girdwood@linux.intel.com \
--cc=patches.audio@intel.com \
--cc=vinod.koul@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox