From: Robert Jarzmik <robert.jarzmik@free.fr>
To: Mark Brown <broonie@kernel.org>,
Charles Keepax <ckeepax@opensource.wolfsonmicro.com>,
patches@opensource.cirrus.com
Cc: alsa-devel@alsa-project.org
Subject: [alsa-devel] wm9713 regression on pxa platforms
Date: Sat, 26 Oct 2019 22:06:10 +0200 [thread overview]
Message-ID: <87a79nqnkd.fsf@belgarion.home> (raw)
Hi Wolfson maintainers, hi Mark,
Recently, the wm9713 support broke on my platforms. I'm pretty sure that a
previous harmless warning became an error preventing the probe of my driver
(sound/soc/pxa/mioa701_wm9713.c) : the error is shown in [1] ("Control not
supported").
The warning "ASoC: no dapm match for Mic B Source" has be there as far as I'm
aware for ages, and it never prevented the probe before.
Now, if I apply the ugly patch in [2], everything works as expected ... but
that's definitely not the right fix.
Would any of you be able to figure out a fix please ?
Cheers.
--
Robert
[1] Kernel log
[ 129.888985] pxa2xx-ac97 pxa2xx-ac97: ASoC: dai register pxa2xx-ac97 #3
[ 129.889052] pxa2xx-ac97 pxa2xx-ac97: ASoC: dynamically register DAI pxa2xx-ac97
[ 129.889102] pxa2xx-ac97 pxa2xx-ac97: ASoC: Registered DAI 'pxa2xx-ac97'
[ 129.889135] pxa2xx-ac97 pxa2xx-ac97: ASoC: dynamically register DAI pxa2xx-ac97
[ 129.889176] pxa2xx-ac97 pxa2xx-ac97: ASoC: Registered DAI 'pxa2xx-ac97-aux'
[ 129.889207] pxa2xx-ac97 pxa2xx-ac97: ASoC: dynamically register DAI pxa2xx-ac97
[ 129.889249] pxa2xx-ac97 pxa2xx-ac97: ASoC: Registered DAI 'pxa2xx-ac97-mic'
[ 135.341942] wm9713-codec wm9713-codec: ASoC: dai register wm9713-codec #3
[ 135.342019] wm9713-codec wm9713-codec: ASoC: dynamically register DAI wm9713-codec
[ 135.342077] wm9713-codec wm9713-codec: ASoC: Registered DAI 'wm9713-hifi'
[ 135.342109] wm9713-codec wm9713-codec: ASoC: dynamically register DAI wm9713-codec
[ 135.342162] wm9713-codec wm9713-codec: ASoC: Registered DAI 'wm9713-aux'
[ 135.342193] wm9713-codec wm9713-codec: ASoC: dynamically register DAI wm9713-codec
[ 135.342234] wm9713-codec wm9713-codec: ASoC: Registered DAI 'wm9713-voice'
[ 139.362113] mioa701-wm9713 mioa701-wm9713: ASoC: binding AC97
[ 139.362302] mioa701-wm9713 mioa701-wm9713: ASoC: binding AC97 Aux
[ 139.367170] wm9713-codec wm9713-codec: Control not supported for path Mic B Source -> [MPB] -> Mic B Pre Amp
[ 139.375450] wm9713-codec wm9713-codec: ASoC: no dapm match for Mic B Source --> MPB --> Mic B Pre Amp
[ 139.383448] wm9713-codec wm9713-codec: ASoC: Failed to add route Mic B Source -> MPB -> Mic B Pre Amp
[ 139.393422] mioa701-wm9713 mioa701-wm9713: ASoC: failed to instantiate card -22
[ 139.403089] mioa701-wm9713: probe of mioa701-wm9713 failed with error -22
[2] Ugly test
diff --git a/sound/soc/codecs/wm9713.c b/sound/soc/codecs/wm9713.c
index 6497c1ea6228..ec140ccbab0b 100644
--- a/sound/soc/codecs/wm9713.c
+++ b/sound/soc/codecs/wm9713.c
@@ -630,8 +630,8 @@ static const struct snd_soc_dapm_route wm9713_audio_map[] = {
{"Mic A Source", "Mic 1", "MIC1"},
{"Mic A Source", "Mic 2 A", "MIC2A"},
{"Mic A Source", "Mic 2 B", "Mic B Source"},
- {"Mic B Pre Amp", "MPB", "Mic B Source"},
- {"Mic B Source", NULL, "MIC2B"},
+ /* {"Mic B Pre Amp", "MPB", "Mic B Source"}, */
+ /* {"Mic B Source", NULL, "MIC2B"}, */
/* headphone capture */
{"Capture Headphone Mux", "Stereo", "Capture Mixer"},
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next reply other threads:[~2019-10-26 20:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-26 20:06 Robert Jarzmik [this message]
2019-10-28 22:49 ` [alsa-devel] wm9713 regression on pxa platforms Charles Keepax
2019-10-30 21:50 ` Robert Jarzmik
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=87a79nqnkd.fsf@belgarion.home \
--to=robert.jarzmik@free.fr \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=ckeepax@opensource.wolfsonmicro.com \
--cc=patches@opensource.cirrus.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