From: Takashi Iwai Date: Tue, 18 Aug 2009 22:18:10 +0000 (+0200) Subject: ALSA: hda - Fix invalid capture mixers with some ALC268 models X-Git-Tag: v2.6.32-rc1~732^2~13^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdbc66266c21976027938642f60e0f047149a61a;p=pandora-kernel.git ALSA: hda - Fix invalid capture mixers with some ALC268 models 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 --- Reading git-diff-tree failed