summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_sigmatel.c
diff options
context:
space:
mode:
authorMaxim Levitsky2007-09-03 15:28:04 +0200
committerJaroslav Kysela2007-10-16 15:59:47 +0200
commitd804ad9258c1460916a5e5854655a0dc543fd8a5 (patch)
tree783900a809c48f73bb5849d11cb7fce8e88d4484 /sound/pci/hda/patch_sigmatel.c
parent[ALSA] hda-intel - fix a race in dynamic power managment (diff)
downloadkernel-qcow2-linux-d804ad9258c1460916a5e5854655a0dc543fd8a5.tar.gz
kernel-qcow2-linux-d804ad9258c1460916a5e5854655a0dc543fd8a5.tar.xz
kernel-qcow2-linux-d804ad9258c1460916a5e5854655a0dc543fd8a5.zip
[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>
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
0 files changed, 0 insertions, 0 deletions