From: Mark Brown <broonie@kernel.org>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Mark Brown <broonie@kernel.org>Mark Brown <broonie@kernel.org>,
linux-renesas-soc@vger.kernel.org,
Linux-ALSA <alsa-devel@alsa-project.org>,
Simon <horms@verge.net.au>alsa-devel@alsa-project.org
Subject: Applied "ASoC: audio-graph-scu-card: use asoc_simple_card_clk_xxx()" to the asoc tree
Date: Tue, 13 Jun 2017 22:07:37 +0100 [thread overview]
Message-ID: <E1dKt2H-0000Dn-3t@debutante> (raw)
In-Reply-To: <87zidk3ar8.wl%kuninori.morimoto.gx@renesas.com>
The patch
ASoC: audio-graph-scu-card: use asoc_simple_card_clk_xxx()
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 6654fc77797e306a3b67b3cdf0b6121294893dba Mon Sep 17 00:00:00 2001
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Date: Fri, 9 Jun 2017 00:45:01 +0000
Subject: [PATCH] ASoC: audio-graph-scu-card: use asoc_simple_card_clk_xxx()
Current simple-card-utils sets asoc_simple_dai::clk via
asoc_simple_card_parse_clk().
Current simple card drivers are using it directly for
clk_enable/disable.
Encapsulation is one of simple card util's purpose.
Let's use asoc_simple_card_clk_enable/disable.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/generic/audio-graph-scu-card.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/generic/audio-graph-scu-card.c b/sound/soc/generic/audio-graph-scu-card.c
index 0066102f5bc4..27a261ee7302 100644
--- a/sound/soc/generic/audio-graph-scu-card.c
+++ b/sound/soc/generic/audio-graph-scu-card.c
@@ -45,7 +45,7 @@ static int asoc_graph_card_startup(struct snd_pcm_substream *substream)
struct graph_card_data *priv = snd_soc_card_get_drvdata(rtd->card);
struct asoc_simple_dai *dai_props = graph_priv_to_props(priv, rtd->num);
- return clk_prepare_enable(dai_props->clk);
+ return asoc_simple_card_clk_enable(dai_props);
}
static void asoc_graph_card_shutdown(struct snd_pcm_substream *substream)
@@ -54,7 +54,7 @@ static void asoc_graph_card_shutdown(struct snd_pcm_substream *substream)
struct graph_card_data *priv = snd_soc_card_get_drvdata(rtd->card);
struct asoc_simple_dai *dai_props = graph_priv_to_props(priv, rtd->num);
- clk_disable_unprepare(dai_props->clk);
+ asoc_simple_card_clk_disable(dai_props);
}
static struct snd_soc_ops asoc_graph_card_ops = {
--
2.11.0
next prev parent reply other threads:[~2017-06-13 21:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-07 0:28 [PATCH 0/5] ASoC: add/use asoc_simple_card_clk_enable/disable() Kuninori Morimoto
2017-06-07 0:29 ` [PATCH 1/5] ASoC: simple_card_utils: add asoc_simple_card_clk_enable/disable() Kuninori Morimoto
2017-06-08 14:50 ` Mark Brown
2017-06-08 23:39 ` Kuninori Morimoto
2017-06-07 0:29 ` [PATCH 2/5] ASoC: simple-card: use asoc_simple_card_clk_enable/disable() Kuninori Morimoto
2017-06-13 21:07 ` Applied "ASoC: simple-card: use asoc_simple_card_clk_xxx()" to the asoc tree Mark Brown
2017-06-07 0:29 ` [PATCH 3/5] ASoC: simple-scu-card: use asoc_simple_card_clk_enable/disable() Kuninori Morimoto
2017-06-13 21:07 ` Applied "ASoC: simple-scu-card: use asoc_simple_card_clk_xxx()" to the asoc tree Mark Brown
2017-06-07 0:29 ` [PATCH 4/5] ASoC: audio-graph-scu-card: use asoc_simple_card_clk_enable/disable() Kuninori Morimoto
2017-06-13 21:07 ` Mark Brown [this message]
2017-06-07 0:30 ` [PATCH 5/5] ASoC: audio-graph-card: " Kuninori Morimoto
2017-06-13 21:07 ` Applied "ASoC: audio-graph-card: use asoc_simple_card_clk_xxx()" 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=E1dKt2H-0000Dn-3t@debutante \
--to=broonie@kernel.org \
--cc=kuninori.morimoto.gx@renesas.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