On Tue, May 15, 2012 at 11:15:41AM +0200, Christoph Fritz wrote:
On Sun, May 13, 2012 at 05:56:53AM +0200, Christoph Fritz wrote:
Just filling in the appropriate mux value in the relevant route should do the trick.
Do you mean filling in to wm9712_audio_map or wm9712_enum?
There will need to be routes in the audio map. Don't know if there are any fixes needed in the enum, it was the routing I noticed was missing.
Looking at the code it looks like the widget isn't hooked into the audio routing map at all so I'm a little surprised.
Does that mean that wm9712_dapm_widgets should be referred by a struct snd_kcontrol_new ?
No, that should never happen.
I'm out of the office at the minute and so can't readily set up a test system myself.
I'm not that into alsa and would greatly appreciate if you could have a look with your test system.
For personal reasons I don't really have an ETA for when I'll be in the office, sorry.