ALSA: hda - Implement snd_hda_power_sync() helper function
authorTakashi Iwai <tiwai@suse.de>
Tue, 14 Aug 2012 15:12:47 +0000 (17:12 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 20 Aug 2012 09:46:05 +0000 (11:46 +0200)
commitc376e2c72ba2d510486d7dea41163dce5f5606ea
tree6bf51453c5c9f54f1955ecb3330e576d357622d7
parentb244d335609f9bbf4c0204a365bf03b7ac53c3c8
ALSA: hda - Implement snd_hda_power_sync() helper function

Added a new helper function snd_hda_power_sync() to trigger the
power-saving manually.  It's an inline function call to
snd_hda_power_save() helper function.

Together with this addition, snd_hda_power_up*() and
snd_hda_power_down() functions are inlined to a call of the same
snd_hda_power_save() helper function.

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