android_kernel_motorola_sm6225/sound/pci/hda
Maxim Levitsky d804ad9258 [ALSA] hda-intel - Fix resume logic, when dynamic power managment is on
Comment in hda_intel.c states that 'the explicit resume is needed only
when POWER_SAVE isn't set', but this is not true.
There is no code that will automaticly power up the codec on resume,
but only code that powers it up when user accesses it. So if user
leaves a sound playing, codec will not be powered
To fix that I check if there are any codecs that should be powered
codec->power_count, and if so I power them up together with main
controller.

Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2007-10-16 15:59:47 +02:00
..
hda_codec.c [ALSA] hda-intel - Fix resume logic, when dynamic power managment is on 2007-10-16 15:59:47 +02:00
hda_codec.h [ALSA] hda-intel - Fix resume logic, when dynamic power managment is on 2007-10-16 15:59:47 +02:00
hda_generic.c [ALSA] hda-intel - Add POWER_SAVE option 2007-10-16 15:58:46 +02:00
hda_hwdep.c [ALSA] hda-intel - Fix compile warning in snd_hwdep_ioctl_compat() 2007-10-16 15:58:16 +02:00
hda_intel.c [ALSA] hda-intel - Fix resume logic, when dynamic power managment is on 2007-10-16 15:59:47 +02:00
hda_local.h [ALSA] hda-intel - Add POWER_SAVE option 2007-10-16 15:58:46 +02:00
hda_patch.h [ALSA] hda-codec - kernel config for each codec 2007-10-16 15:58:12 +02:00
hda_proc.c [ALSA] hda-intel - Add POWER_SAVE option 2007-10-16 15:58:46 +02:00
Makefile [ALSA] hda-intel - Fix a typo in Makefile 2007-10-16 15:58:17 +02:00
patch_analog.c [ALSA] hda-codec - Fix Master volume with AD1986A laptop model 2007-10-16 15:59:00 +02:00
patch_atihdmi.c [ALSA] hda-codec - optimize resume using caches 2007-10-16 15:58:43 +02:00
patch_cmedia.c [ALSA] hda-codec - optimize resume using caches 2007-10-16 15:58:43 +02:00
patch_conexant.c [ALSA] hda-codec - Clean up bind-controls 2007-10-16 15:58:45 +02:00
patch_realtek.c [ALSA] hda-codec - Fix capture on ALC262 HP machines 2007-10-16 15:59:38 +02:00
patch_si3054.c [ALSA] hda-codec - optimize resume using caches 2007-10-16 15:58:43 +02:00
patch_sigmatel.c [ALSA] hda-codec - Avoid zero NID in line_out_pins[] of STAC codecs 2007-10-16 15:59:41 +02:00
patch_via.c [ALSA] hda-intel - Add POWER_SAVE option 2007-10-16 15:58:46 +02:00