ALSA: hda - Refactor ALC269 power-ups/downs in PM callbacks
authorTakashi Iwai <tiwai@suse.de>
Mon, 20 Sep 2010 13:20:52 +0000 (15:20 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 20 Sep 2010 13:36:07 +0000 (15:36 +0200)
commit0ec33d1f952934ea3251cefc6d108b47818eedd0
tree78a8ba489440e192f40fcfd7d7ea8f5885f1650d
parentf3550d1b052a8acf4159b407dbdd1def47f223f9
ALSA: hda - Refactor ALC269 power-ups/downs in PM callbacks

Create a helper function to simplify the code.
Also, cleaned up the ifdef SND_HDA_NEEDS_RESUME and
CONFIG_SND_HDA_POWER_SAVE.  The former is always defined when the latter
is set.

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