linux/sound/pci/hda
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
..
Kconfig ALSA: hda - Make CONFIG_SND_HDA_POWER_SAVE depending on CONFIG_PM 2011-07-26 17:21:18 +02:00
Makefile ALSA: hda - Add basic tracepoints 2011-08-04 17:02:37 +02:00
alc260_quirks.c ALSA: hda - Remove ALC260 HP model quirks 2011-08-15 13:10:18 +02:00
alc262_quirks.c ALSA: HDA: Refactor Realtek's automute 2011-09-20 18:22:33 +02:00
alc880_quirks.c ALSA: HDA: Refactor Realtek's automute 2011-09-20 18:22:33 +02:00
alc882_quirks.c ALSA: HDA: Refactor Realtek's automute 2011-09-20 18:22:33 +02:00
alc_quirks.c ALSA: HDA: Refactor Realtek's automute 2011-09-20 18:22:33 +02:00
hda_beep.c sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
hda_beep.h ALSA: hda - Fix missing static inline to beep dummy function 2011-06-14 08:14:32 +02:00
hda_codec.c ALSA: hda - Re-enable the check NO_PRESENCE misc bit 2011-11-10 12:36:46 +01:00
hda_codec.h ALSA: hda - Re-enable the check NO_PRESENCE misc bit 2011-11-10 12:36:46 +01:00
hda_eld.c ALSA: hda - move eld->spk_alloc fixup to hdmi_update_eld() 2011-11-16 10:44:58 +01:00
hda_generic.c sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
hda_hwdep.c 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
hda_intel.c ALSA: hda - Fix a regression for DMA-position check with CA0110 2011-11-06 13:49:13 +01:00
hda_local.h ALSA: hda - fix ELD memory leak 2011-11-16 10:44:21 +01:00
hda_proc.c ALSA: hda - Moved snd_print_pcm_rates() back into hda_proc.c 2011-10-06 08:21:15 +02:00
hda_trace.h ALSA: hda - Add tracepoint for unsolicited events 2011-08-09 14:24:17 +02:00
patch_analog.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
patch_ca0110.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
patch_ca0132.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
patch_cirrus.c ALSA: hda - Fix the connection selection of ADCs on Cirrus codecs 2011-11-16 18:05:11 +01:00
patch_cmedia.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
patch_conexant.c ALSA: HDA: Remove quirk for Toshiba T110 2011-11-09 08:51:28 +01:00
patch_hdmi.c ALSA: hda - move eld->spk_alloc fixup to hdmi_update_eld() 2011-11-16 10:44:58 +01:00
patch_realtek.c ALSA: hda/realtek: remove redundant semicolon 2011-11-14 10:41:46 +01:00
patch_si3054.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
patch_sigmatel.c ALSA: hda - pwr_nids cleanup for IDT codecs 2011-11-11 08:05:28 +01:00
patch_via.c 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