ALSA: hda/generic - Check power state cap at updating the widget power
authorTakashi Iwai <tiwai@suse.de>
Thu, 9 Apr 2015 08:18:31 +0000 (10:18 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 9 Apr 2015 08:33:16 +0000 (10:33 +0200)
commit2206dc949286fe0010c69213d3d8b4c53e6a2295
tree7a92980d8a53c8b6e942b8080674a42bd391555c
parent9efe2731db3a8944d26233bb47532011411810fb
ALSA: hda/generic - Check power state cap at updating the widget power

The new widget power-saving tries to apply the power change no matter
whether the node has a power cap or not.  It's bad (although most of
codecs chip just ignore it).  Check the capability properly
beforehand.

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