* [PATCH 2/2] ASoC: simple-scu-card: remove duplicate paramera from asoc_simple_card_parse_of
@ 2017-06-07 0:37 Kuninori Morimoto
2017-06-07 9:36 ` Sergei Shtylyov
2017-06-07 19:31 ` Applied "ASoC: simple-scu-card: remove duplicate paramera from asoc_simple_card_parse_of" to the asoc tree Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Kuninori Morimoto @ 2017-06-07 0:37 UTC (permalink / raw)
To: Mark Brown; +Cc: Linux-ALSA, Simon, linux-renesas-soc
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
sound/soc/generic/simple-scu-card.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/generic/simple-scu-card.c b/sound/soc/generic/simple-scu-card.c
index a6a35b0..44da691 100644
--- a/sound/soc/generic/simple-scu-card.c
+++ b/sound/soc/generic/simple-scu-card.c
@@ -177,13 +177,13 @@ static int asoc_simple_card_dai_link_of(struct device_node *np,
return 0;
}
-static int asoc_simple_card_parse_of(struct device_node *node,
- struct simple_card_data *priv)
+static int asoc_simple_card_parse_of(struct simple_card_data *priv)
{
struct device *dev = simple_priv_to_dev(priv);
struct device_node *np;
struct snd_soc_card *card = simple_priv_to_card(priv);
+ struct device_node *node = dev->of_node;
unsigned int daifmt = 0;
bool is_fe;
int ret, i;
@@ -259,7 +259,7 @@ static int asoc_simple_card_probe(struct platform_device *pdev)
card->codec_conf = &priv->codec_conf;
card->num_configs = 1;
- ret = asoc_simple_card_parse_of(np, priv);
+ ret = asoc_simple_card_parse_of(priv);
if (ret < 0) {
if (ret != -EPROBE_DEFER)
dev_err(dev, "parse error %d\n", ret);
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 2/2] ASoC: simple-scu-card: remove duplicate paramera from asoc_simple_card_parse_of
2017-06-07 0:37 [PATCH 2/2] ASoC: simple-scu-card: remove duplicate paramera from asoc_simple_card_parse_of Kuninori Morimoto
@ 2017-06-07 9:36 ` Sergei Shtylyov
2017-06-07 19:31 ` Applied "ASoC: simple-scu-card: remove duplicate paramera from asoc_simple_card_parse_of" to the asoc tree Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Sergei Shtylyov @ 2017-06-07 9:36 UTC (permalink / raw)
To: Kuninori Morimoto, Mark Brown; +Cc: Linux-ALSA, Simon, linux-renesas-soc
Hello!
s/paramera/parameter/ in the subject?
MBR, Sergei
^ permalink raw reply [flat|nested] 3+ messages in thread
* Applied "ASoC: simple-scu-card: remove duplicate paramera from asoc_simple_card_parse_of" to the asoc tree
2017-06-07 0:37 [PATCH 2/2] ASoC: simple-scu-card: remove duplicate paramera from asoc_simple_card_parse_of Kuninori Morimoto
2017-06-07 9:36 ` Sergei Shtylyov
@ 2017-06-07 19:31 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2017-06-07 19:31 UTC (permalink / raw)
To: Kuninori Morimoto; +Cc: Mark Brown
The patch
ASoC: simple-scu-card: remove duplicate paramera from asoc_simple_card_parse_of
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 0d6b35212b451d4ac0c07c7b2b15b20ea763df5c Mon Sep 17 00:00:00 2001
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Date: Wed, 7 Jun 2017 00:37:30 +0000
Subject: [PATCH] ASoC: simple-scu-card: remove duplicate paramera from
asoc_simple_card_parse_of
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/generic/simple-scu-card.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/generic/simple-scu-card.c b/sound/soc/generic/simple-scu-card.c
index 9a251400685e..5faf5d6c48a2 100644
--- a/sound/soc/generic/simple-scu-card.c
+++ b/sound/soc/generic/simple-scu-card.c
@@ -192,13 +192,13 @@ static int asoc_simple_card_dai_link_of(struct device_node *np,
return 0;
}
-static int asoc_simple_card_parse_of(struct device_node *node,
- struct simple_card_data *priv)
+static int asoc_simple_card_parse_of(struct simple_card_data *priv)
{
struct device *dev = simple_priv_to_dev(priv);
struct device_node *np;
struct snd_soc_card *card = simple_priv_to_card(priv);
+ struct device_node *node = dev->of_node;
unsigned int daifmt = 0;
bool is_fe;
int ret, i;
@@ -281,7 +281,7 @@ static int asoc_simple_card_probe(struct platform_device *pdev)
card->codec_conf = &priv->codec_conf;
card->num_configs = 1;
- ret = asoc_simple_card_parse_of(np, priv);
+ ret = asoc_simple_card_parse_of(priv);
if (ret < 0) {
if (ret != -EPROBE_DEFER)
dev_err(dev, "parse error %d\n", ret);
--
2.11.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-06-07 19:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-07 0:37 [PATCH 2/2] ASoC: simple-scu-card: remove duplicate paramera from asoc_simple_card_parse_of Kuninori Morimoto
2017-06-07 9:36 ` Sergei Shtylyov
2017-06-07 19:31 ` Applied "ASoC: simple-scu-card: remove duplicate paramera from asoc_simple_card_parse_of" to the asoc tree Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox