OpenCloudOS-Kernel/sound/pci
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
..
ac97 sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
ali5451 sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
asihpi sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
au88x0 sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
aw2 sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
ca0106 sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
cs46xx sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
cs5535audio sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
ctxfi sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
echoaudio sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
emu10k1 sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
hda ALSA: hda - Fix the connection selection of ADCs on Cirrus codecs 2011-11-16 18:05:11 +01:00
ice1712 sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
korg1212 sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
lola sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
lx6464es atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
mixart sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
nm256 sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
oxygen sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
pcxhr sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
riptide sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
rme9652 Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux 2011-11-06 19:44:47 -08:00
trident sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
vx222 sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
ymfpci sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
Kconfig ALSA: Fix dependency of CONFIG_SND_TEA575X 2011-08-07 17:54:17 +02:00
Makefile ALSA: Add the driver for Digigram Lola PCI-e boards 2011-05-03 16:31:05 +02:00
ad1889.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
ad1889.h [ALSA] ad1889: add AD1889 driver 2005-09-12 10:40:17 +02:00
ak4531_codec.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
als300.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
als4000.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
atiixp.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
atiixp_modem.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
azt3328.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
azt3328.h ALSA: azt3328: fix previous breakage, improve suspend, cleanups 2009-07-15 12:03:26 +02:00
bt87x.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
cmipci.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
cs4281.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
cs5530.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
ens1370.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
ens1371.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
es1938.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
es1968.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
fm801.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
intel8x0.c ALSA: intel8x0: improve virtual environment detection 2011-11-09 18:34:28 +01:00
intel8x0m.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
maestro3.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
rme32.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
rme96.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
sis7019.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
sis7019.h trivial: fix typos s/paramter/parameter/ and s/excute/execute/ in documentation and source comments. 2009-06-12 18:01:46 +02:00
sonicvibes.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
via82xx.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
via82xx_modem.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00