ALSA: hda - Check the power state when power_save option is changed
authorTakashi Iwai <tiwai@suse.de>
Tue, 14 Aug 2012 15:13:32 +0000 (17:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 20 Aug 2012 09:46:06 +0000 (11:46 +0200)
commit65fcd41d371f4464c3f5a0433a8056cc3d739397
tree223fd39e12f7c18499c066e977d2b12161f4e1ff
parentc376e2c72ba2d510486d7dea41163dce5f5606ea
ALSA: hda - Check the power state when power_save option is changed

... by calling the newly introduced snd_hda_power_sync().

I had to reimplement a wheel for adding the trigger at changing the
parameter -- the parameter set ops is overwritten to pass the integer
parameter, then trigger the power-state sync.

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