https://github.com/torvalds/linux
Revision 05ee7964a470d29889ac48cc8274c1b5a1904a11 authored by Takashi Iwai on 16 November 2011, 17:05:11 UTC, committed by Takashi Iwai on 16 November 2011, 17:05:11 UTC
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>
1 parent 25d7d59
History
Tip revision: 05ee7964a470d29889ac48cc8274c1b5a1904a11 authored by Takashi Iwai on 16 November 2011, 17:05:11 UTC
ALSA: hda - Fix the connection selection of ADCs on Cirrus codecs
Tip revision: 05ee796
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.1 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.6 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 201.2 KB
Makefile -rw-r--r-- 52.2 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top