ALSA: hda - Make CONFIG_SND_HDA_POWER_SAVE depending on CONFIG_PM
authorTakashi Iwai <tiwai@suse.de>
Tue, 26 Jul 2011 07:52:50 +0000 (09:52 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 26 Jul 2011 15:21:18 +0000 (17:21 +0200)
commit2a43952a99072f43c92355882b7965c8762ae3f3
treed51d4f3623d5f9fd6682ed0823ed8bdf05b76b20
parent7df1ce1a8197a4afec78584f56e74ab84dcab97c
ALSA: hda - Make CONFIG_SND_HDA_POWER_SAVE depending on CONFIG_PM

It makes little sense to enable power-saving without PM.
This removes SND_HDA_NEEDS_RESUME define so that we can use CONFIG_PM
in all places.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/Kconfig
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.h
sound/pci/hda/hda_local.h
sound/pci/hda/patch_analog.c
sound/pci/hda/patch_realtek.c
sound/pci/hda/patch_sigmatel.c
sound/pci/hda/patch_via.c