ALSA: hda - Move EAPD power-down into shutup callback for AD codecs
authorTakashi Iwai <tiwai@suse.de>
Tue, 26 Apr 2011 13:18:33 +0000 (15:18 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 26 Apr 2011 13:18:33 +0000 (15:18 +0200)
commit0da2692256ed65bec588f7797c77f9c84ef4274e
tree97a6cb62917eee8df0b681dfb8481b18be65c02e
parent31d44b57c508971c083ce038d7c5ededd09cea01
ALSA: hda - Move EAPD power-down into shutup callback for AD codecs

EAPD power-down should be called also for normal shutup cases.
Let's move to there.   This also fixes the compile warnings when
CONFIG_PM isn't set automatically.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_analog.c