From: Lars-Peter Clausen <lars@metafoo.de>
To: Manuel Lauss <manuel.lauss@gmail.com>, alsa-devel@alsa-project.org
Subject: Re: ASoC: please revert "ASoC: db1200: Use static DAI format setup"
Date: Mon, 07 Sep 2015 13:54:26 +0200 [thread overview]
Message-ID: <55ED7AF2.1050800@metafoo.de> (raw)
In-Reply-To: <CAOLZvyG_tgPoXFJMBkqSeDULBUzgdqnNjQF7eVuzLzU2VtDArg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 544 bytes --]
On 09/06/2015 07:32 PM, Manuel Lauss wrote:
> Hi Lars,
>
> commit b4508d0f95fa4aaed889549e31391641d675d4bb
> ("ASoC: db1200: Use static DAI format setup") breaks I2S in that the
> set_dai_fmt() callbacks of neither the codec (wm8731) nor the I2S block
> (psc-i2s) are called.
>
> Please revert this change or fix it up so that the set_dai_fmt() callbacks
> are at least called once. (This was broken since 4.0, but I just now got
> around to test linux on the hardware again).
Hi,
Can you check whether the attached patch fixes it?
- Lars
[-- Attachment #2: au1x.patch --]
[-- Type: text/x-patch, Size: 761 bytes --]
diff --git a/sound/soc/au1x/db1200.c b/sound/soc/au1x/db1200.c
index 58c3164..8c907eb 100644
--- a/sound/soc/au1x/db1200.c
+++ b/sound/soc/au1x/db1200.c
@@ -129,6 +129,8 @@ static struct snd_soc_dai_link db1300_i2s_dai = {
.cpu_dai_name = "au1xpsc_i2s.2",
.platform_name = "au1xpsc-pcm.2",
.codec_name = "wm8731.0-001b",
+ .dai_fmt = SND_SOC_DAIFMT_LEFT_J | SND_SOC_DAIFMT_NB_NF |
+ SND_SOC_DAIFMT_CBM_CFM,
.ops = &db1200_i2s_wm8731_ops,
};
@@ -146,6 +148,8 @@ static struct snd_soc_dai_link db1550_i2s_dai = {
.cpu_dai_name = "au1xpsc_i2s.3",
.platform_name = "au1xpsc-pcm.3",
.codec_name = "wm8731.0-001b",
+ .dai_fmt = SND_SOC_DAIFMT_LEFT_J | SND_SOC_DAIFMT_NB_NF |
+ SND_SOC_DAIFMT_CBM_CFM,
.ops = &db1200_i2s_wm8731_ops,
};
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
next prev parent reply other threads:[~2015-09-07 12:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-06 17:32 ASoC: please revert "ASoC: db1200: Use static DAI format setup" Manuel Lauss
2015-09-07 11:54 ` Lars-Peter Clausen [this message]
2015-09-07 12:10 ` Manuel Lauss
2015-09-25 16:55 ` Applied "ASoC: db1200: Fix DAI link format for db1300 and db1550" 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=55ED7AF2.1050800@metafoo.de \
--to=lars@metafoo.de \
--cc=alsa-devel@alsa-project.org \
--cc=manuel.lauss@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox