Takashi Iwai
05ee7964a4
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>
2011-11-16 18:05:11 +01:00
..
2011-10-31 19:31:22 -04:00
2011-10-31 19:31:19 -04:00
2011-10-31 19:31:21 -04:00
2011-10-31 19:31:22 -04:00
2011-10-31 19:31:21 -04:00
2011-10-31 19:31:19 -04:00
2011-10-31 19:31:22 -04:00
2011-10-31 19:31:19 -04:00
2011-10-31 19:31:21 -04:00
2011-10-31 19:31:21 -04:00
2011-10-31 19:31:22 -04:00
2011-11-16 18:05:11 +01:00
2011-10-31 19:31:21 -04:00
2011-10-31 19:31:19 -04:00
2011-10-31 19:31:19 -04:00
2011-07-26 16:49:47 -07:00
2011-10-31 19:31:21 -04:00
2011-10-31 19:31:19 -04:00
2011-10-31 19:31:22 -04:00
2011-10-31 19:31:21 -04:00
2011-10-31 19:31:21 -04:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:31:22 -04:00
2011-10-31 19:31:19 -04:00
2011-10-31 19:31:21 -04:00
2011-10-31 19:31:21 -04:00
2005-09-12 10:40:17 +02:00
2011-10-31 19:31:21 -04:00
2011-10-31 19:31:19 -04:00
2011-10-31 19:31:19 -04:00
2011-10-31 19:31:19 -04:00
2011-10-31 19:31:19 -04:00
2011-10-31 19:31:19 -04:00
2009-07-15 12:03:26 +02:00
2011-10-31 19:31:19 -04:00
2011-10-31 19:31:19 -04:00
2011-10-31 19:31:19 -04:00
2011-10-31 19:31:19 -04:00
2011-10-31 19:31:19 -04:00
2005-04-16 15:20:36 -07:00
2011-10-31 19:31:19 -04:00
2011-10-31 19:31:19 -04:00
2011-10-31 19:31:19 -04:00
2011-11-09 18:34:28 +01:00
2011-10-31 19:31:19 -04:00
2011-08-07 17:54:17 +02:00
2011-10-31 19:31:19 -04:00
2011-05-03 16:31:05 +02:00
2011-10-31 19:31:19 -04:00
2011-10-31 19:31:19 -04:00
2011-10-31 19:31:19 -04:00
2009-06-12 18:01:46 +02:00
2011-10-31 19:31:19 -04:00
2011-10-31 19:31:19 -04:00
2011-10-31 19:31:19 -04:00