From: Peter Meerwald <pmeerw@pmeerw.net>
To: Mark Brown <broonie@kernel.org>
Cc: Peter Meerwald-Stadler <p.meerwald@bct-electronic.com>,
alsa-devel@alsa-project.org,
Nicolas Ferre <nicolas.ferre@atmel.com>,
"Wu, Songjun" <songjun.wu@atmel.com>,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ASoC: atmel_ssc_dai: Fix DMA params for different SSC
Date: Tue, 5 Jul 2016 11:46:29 +0200 [thread overview]
Message-ID: <20160705094629.5326-1-pmeerw@pmeerw.net> (raw)
From: Peter Meerwald <p.meerwald@bct-electronic.com>
follow-up patch from c706f2e55f ASoC: atmel_ssc_dai: distinguish the
different SSC
cpu_dai id is always 0, use platform_device id to distinguish DMA
parameters of SSCs
Signed-off-by: Peter Meerwald-Stadler <p.meerwald@bct-electronic.com>
Cc: "Wu, Songjun" <songjun.wu@atmel.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
---
sound/soc/atmel/atmel_ssc_dai.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_dai.c
index 841d059..c7daea8 100644
--- a/sound/soc/atmel/atmel_ssc_dai.c
+++ b/sound/soc/atmel/atmel_ssc_dai.c
@@ -320,7 +320,7 @@ static int atmel_ssc_startup(struct snd_pcm_substream *substream,
return ret;
}
- dma_params = &ssc_dma_params[dai->id][dir];
+ dma_params = &ssc_dma_params[pdev->id][dir];
dma_params->ssc = ssc_p->ssc;
dma_params->substream = substream;
--
2.9.0
next reply other threads:[~2016-07-05 9:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-05 9:46 Peter Meerwald [this message]
2016-07-07 10:00 ` Applied "ASoC: atmel_ssc_dai: Fix DMA params for different SSC" 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=20160705094629.5326-1-pmeerw@pmeerw.net \
--to=pmeerw@pmeerw.net \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=nicolas.ferre@atmel.com \
--cc=p.meerwald@bct-electronic.com \
--cc=songjun.wu@atmel.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;
as well as URLs for NNTP newsgroup(s).