linux-kernel-test/sound/pci/hda
Takashi Iwai 785f857d1c ALSA: hda - Set codec to D3 forcibly even if not used
We've seen a problem with a pop-noise at suspend/resume on a HP
machine with ALC269, and it turned out to be an issue that the
controller going to D3 while the codec is unused.

When the device is once suspended and resumed and kept unused, the
driver doesn't initialize the codecs.  Instead, the codec chips are
set up dynamically at the first usage.  Now, suppose the device going
to suspend again before the codec is set up.  The controller is turned
off to D3 while the codec chips are untouched.  This caused a pop
noise because the codec chip might have been turned on implicitly by
the hardware.

As a workaround, the codec chip needs to be set to D3 when going to
suspend no matter whether it was used or not.  Also, for making it
happening, the controller has to be always set up in the resume path.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-03-07 11:52:50 +01: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 - Set codec to D3 forcibly even if not used 2012-03-07 11:52:50 +01:00
hda_codec.h Merge branch 'fix/hda' into topic/hda 2012-03-02 09:00:33 +01:00
hda_eld.c ALSA: hda - fail ELD reading early 2011-11-22 12:09:45 +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 - Set codec to D3 forcibly even if not used 2012-03-07 11:52:50 +01:00
hda_jack.c ALSA: hda - Add codec->no_jack_detect flag 2012-02-13 12:06:09 +01:00
hda_jack.h ALSA: hda - Make is_jack_detectable() as non-inlined 2012-02-13 12:06:03 +01:00
hda_local.h ALSA: hda - Add suffix argument to snd_hda_add_vmaster() 2012-02-03 14:28:01 +01:00
hda_proc.c ALSA: hda - Return the error from get_wcaps_type() for invalid NIDs 2012-01-10 12:41:22 +01:00
hda_trace.h ALSA: hda - Add tracepoint for unsolicited events 2011-08-09 14:24:17 +02:00
Kconfig ALSA: Introduce common helper functions for jack-detection control 2011-11-16 11:14:03 +01:00
Makefile ALSA: hda - Cache the jack-detection value 2011-11-16 11:11:15 +01:00
patch_analog.c ALSA: hda - Add suffix argument to snd_hda_add_vmaster() 2012-02-03 14:28:01 +01:00
patch_ca0110.c ALSA: hda - Give more unique names by snd_hda_get_pin_label() 2011-11-16 15:48:23 +01:00
patch_ca0132.c ALSA: hda - Fix error handling in patch_ca0132.c 2012-02-07 11:05:07 +01:00
patch_cirrus.c ALSA: hda - Kill hyphenated names 2012-03-02 08:59:23 +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 Merge branch 'fix/hda' into topic/hda 2012-03-02 09:00:33 +01:00
patch_hdmi.c ALSA: hda - add id for Atom Cedar Trail HDMI codec 2012-02-23 09:50:10 +01:00
patch_realtek.c ALSA: hda/realtek - Reuse init_hook for ALC269VB coef setup 2012-03-07 09:07:04 +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 Merge branch 'fix/hda' into topic/hda 2012-03-02 09:00:33 +01:00
patch_via.c ALSA: hda/via - Add a few sanity checks 2012-02-22 12:36:06 +01:00