summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-05-08 16:38:02 +0200
committerTakashi Iwai <tiwai@suse.de>2012-05-08 16:38:02 +0200
commitffd344444f9f8f4843d24084ef3da0d09140edb8 (patch)
treea4e8f1144e0023bad4009c26c094747063611857 /sound/pci/hda/hda_codec.c
parent6942c103fb4b0ce91be910a716044ac181a9c2dd (diff)
parent619a341b78f17fb86d92e89c04612676cd05e26f (diff)
downloadop-kernel-dev-ffd344444f9f8f4843d24084ef3da0d09140edb8.zip
op-kernel-dev-ffd344444f9f8f4843d24084ef3da0d09140edb8.tar.gz
Merge branch 'fix/hda' into topic/hda
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r--sound/pci/hda/hda_codec.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index 408613c..393a304 100644
--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -5497,10 +5497,6 @@ int snd_hda_suspend(struct hda_bus *bus)
list_for_each_entry(codec, &bus->codec_list, list) {
if (hda_codec_is_power_on(codec))
hda_call_codec_suspend(codec);
- else /* forcibly change the power to D3 even if not used */
- hda_set_power_state(codec,
- codec->afg ? codec->afg : codec->mfg,
- AC_PWRST_D3);
if (codec->patch_ops.post_suspend)
codec->patch_ops.post_suspend(codec);
}
OpenPOWER on IntegriCloud