All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 3/3] ASoC: Add support for AIF channel muxing on WM8903
@ 2011-02-10 22:59 Stephen Warren
  2011-02-11  5:40 ` Stephen Warren
  2011-02-11 11:26 ` Mark Brown
  0 siblings, 2 replies; 6+ messages in thread
From: Stephen Warren @ 2011-02-10 22:59 UTC (permalink / raw)
  To: Stephen Warren, Mark Brown, Liam Girdwood
  Cc: alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com

Stephen Warren wrote at Wednesday, February 09, 2011 9:33 AM:
> 
> Mark Brown wrote at Wednesday, February 09, 2011 6:47 AM:
> > Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> > ---
> >  sound/soc/codecs/wm8903.c |   66 ++++++++++++++++++++++++++++++++++++++++++---
> >  1 files changed, 62 insertions(+), 4 deletions(-)
> 
> ...I'll make sure to test it within the next few days, once it's applied.

Mark,

I did find one issue with this.

With the default Left/Right Capture Mux settings, and the patch series I just
posted, mic detection now works fine in all the scenarios I tested:

1) Mic plugged in before loading driver, or not.
2) Mic plugged in when starting to capture, or not.
3) Mic removed and plugged back in while capture active.

However, if I flip the Right Capture Mux to setting Left (while not capturing),
then this breaks case (3) above; the initial portion of the recording is fine,
but when I remove and plug the mic back in, something isn't turned on, and so
nothing is recorded after that.

I haven't had a chance to look into this yet, but can later; probably on
Saturday evening.
 
-- 
nvpublic

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH 1/3] ASoC: Remove redundant -codec from WM8903 driver name
@ 2011-02-09 13:47 Mark Brown
  2011-02-09 13:47 ` [PATCH 3/3] ASoC: Add support for AIF channel muxing on WM8903 Mark Brown
  0 siblings, 1 reply; 6+ messages in thread
From: Mark Brown @ 2011-02-09 13:47 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: alsa-devel, patches, swarren, Mark Brown

It causes noisy -codecs to appear in things like .codec_name.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 sound/soc/codecs/wm8903.c |    2 +-
 sound/soc/tegra/harmony.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/wm8903.c b/sound/soc/codecs/wm8903.c
index 27cd8f5..04c3256 100644
--- a/sound/soc/codecs/wm8903.c
+++ b/sound/soc/codecs/wm8903.c
@@ -2134,7 +2134,7 @@ MODULE_DEVICE_TABLE(i2c, wm8903_i2c_id);
 
 static struct i2c_driver wm8903_i2c_driver = {
 	.driver = {
-		.name = "wm8903-codec",
+		.name = "wm8903",
 		.owner = THIS_MODULE,
 	},
 	.probe =    wm8903_i2c_probe,
diff --git a/sound/soc/tegra/harmony.c b/sound/soc/tegra/harmony.c
index 11e2cb8..d702abe 100644
--- a/sound/soc/tegra/harmony.c
+++ b/sound/soc/tegra/harmony.c
@@ -189,7 +189,7 @@ static int harmony_asoc_init(struct snd_soc_pcm_runtime *rtd)
 static struct snd_soc_dai_link harmony_wm8903_dai = {
 	.name = "WM8903",
 	.stream_name = "WM8903 PCM",
-	.codec_name = "wm8903-codec.0-001a",
+	.codec_name = "wm8903.0-001a",
 	.platform_name = "tegra-pcm-audio",
 	.cpu_dai_name = "tegra-i2s.0",
 	.codec_dai_name = "wm8903-hifi",
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-02-11 11:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-10 22:59 [PATCH 3/3] ASoC: Add support for AIF channel muxing on WM8903 Stephen Warren
2011-02-11  5:40 ` Stephen Warren
2011-02-11 11:36   ` Mark Brown
2011-02-11 11:26 ` Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
2011-02-09 13:47 [PATCH 1/3] ASoC: Remove redundant -codec from WM8903 driver name Mark Brown
2011-02-09 13:47 ` [PATCH 3/3] ASoC: Add support for AIF channel muxing on WM8903 Mark Brown
2011-02-09 16:33   ` Stephen Warren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.