summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_sigmatel.c
diff options
context:
space:
mode:
authorTakashi Iwai2011-11-16 18:05:11 +0100
committerTakashi Iwai2011-11-16 18:05:11 +0100
commit05ee7964a470d29889ac48cc8274c1b5a1904a11 (patch)
tree3d07f56df01f5766ddda417e752647eb74e7bcb6 /sound/pci/hda/patch_sigmatel.c
parentALSA: hda - Update URLs in document (diff)
downloadkernel-qcow2-linux-05ee7964a470d29889ac48cc8274c1b5a1904a11.tar.gz
kernel-qcow2-linux-05ee7964a470d29889ac48cc8274c1b5a1904a11.tar.xz
kernel-qcow2-linux-05ee7964a470d29889ac48cc8274c1b5a1904a11.zip
ALSA: hda - Fix the connection selection of ADCs on Cirrus codecs
spec->cur_adc isn't set until cs_capture_pcm_prepare() is called although the driver tries to select the connection at init time and at auto-mic switch. This results in the access to the widget NID 0, which is obviously invalid, also a wrong capture source. This patch fixes the issue by issuing the connect-select verb conditionally at appropriate places. Reported-and-tested-by: Dylan Reid <dgreid@chromium.org> Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
0 files changed, 0 insertions, 0 deletions