[ALSA] hda-intel - Don't do suspend if already powered down
authorTakashi Iwai <tiwai@suse.de>
Tue, 14 Aug 2007 13:18:26 +0000 (15:18 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 13:58:55 +0000 (15:58 +0200)
commit0b7a2e9cefd7614e68520127751f76583498df6c
tree72c29a5ba4543873592710bc05425db04af15e50
parent9d99f312629802f4c45306ee07618ee4978b4adc
[ALSA] hda-intel - Don't do suspend if already powered down

In the power-saving mode, the suspend is done dynamically at power-down.
So we don't have to call suspend stuff explicitly if it's already
powered down.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_intel.c