ALSA: hda - Fix invalid capture mixers with some ALC268 models
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Aug 2009 22:18:10 +0000 (00:18 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 18 Aug 2009 22:22:17 +0000 (00:22 +0200)
The auto-mic clean-up patches caused regressions on some ALC268 models
that have no proper input_mux but with "Input Source" mixer elements.
Such a combination results in Oops when accessed.

[A reason why set_capture_mixer() isn't used in patch_alc268() is that
ALC268 codec have HDA_OUTPUT direction for capture volumes unlike other
codecs.  Thus it needs own definitions of capture elements.]

This patch fixes the issues:
- Add a capture mixer definition without input-source
- Use the new capture mixer appropriately

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found