diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-07-26 03:52:50 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-07-26 11:21:18 -0400 |
commit | 2a43952a99072f43c92355882b7965c8762ae3f3 (patch) | |
tree | d51d4f3623d5f9fd6682ed0823ed8bdf05b76b20 /sound/pci/hda/hda_local.h | |
parent | 7df1ce1a8197a4afec78584f56e74ab84dcab97c (diff) |
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>
Diffstat (limited to 'sound/pci/hda/hda_local.h')
-rw-r--r-- | sound/pci/hda/hda_local.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h index 88b277e9740..2e7ac31afa8 100644 --- a/sound/pci/hda/hda_local.h +++ b/sound/pci/hda/hda_local.h | |||
@@ -131,7 +131,7 @@ int snd_hda_codec_amp_update(struct hda_codec *codec, hda_nid_t nid, int ch, | |||
131 | int direction, int idx, int mask, int val); | 131 | int direction, int idx, int mask, int val); |
132 | int snd_hda_codec_amp_stereo(struct hda_codec *codec, hda_nid_t nid, | 132 | int snd_hda_codec_amp_stereo(struct hda_codec *codec, hda_nid_t nid, |
133 | int dir, int idx, int mask, int val); | 133 | int dir, int idx, int mask, int val); |
134 | #ifdef SND_HDA_NEEDS_RESUME | 134 | #ifdef CONFIG_PM |
135 | void snd_hda_codec_resume_amp(struct hda_codec *codec); | 135 | void snd_hda_codec_resume_amp(struct hda_codec *codec); |
136 | #endif | 136 | #endif |
137 | 137 | ||