[alsa-devel] [PATCH 3/3] ASoC: Add support for AIF channel muxing on WM8903
swarren at nvidia.com
Fri Feb 11 06:40:37 CET 2011
Stephen Warren wrote at Thursday, February 10, 2011 3:59 PM:
> Stephen Warren wrote at Wednesday, February 09, 2011 9:33 AM:
> > ...I'll make sure to test it within the next few days, once it's
> > applied.
> I did find one issue with this.
> 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.
So, what's happening is that once the mic is removed, there's no active path
in the whole codec, so everything gets shut down, including CLK_SYS.
In turn, this means that mic detection doesn't work, so when the mic gets
plugged back in, that event is not noticed, and nothing gets re-enabled.
If I am playing a stream at the same time as recording, that solves (hides)
the problem, since the codec is active and CLK_SYS stays enabled.
I found that if I revert:
ASoC: Dynamically manage CLK_SYS in WM8903
That also fixes the issue. I'm not entirely clear why though; perhaps there
are simply missing entries in the route map for CLK_SYS to mic-related
More information about the Alsa-devel