ALSA: hda - Fix leftover codec->power_transition
authorTakashi Iwai <tiwai@suse.de>
Mon, 20 Aug 2012 19:25:22 +0000 (21:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Sep 2012 16:59:24 +0000 (09:59 -0700)
commitb74c2ca5e058c96cd7792e9ec07fb96e7c3a9a1d
tree6f8147099f3cb4fbd189613728dddf6d518b2711
parent183544678fab5e5d0a0d63c7d2d15bc15f98934f
ALSA: hda - Fix leftover codec->power_transition

commit 535b6c51fe8293c88ce919cdfc4390c67a1cb6d1 upstream.

When the codec turn-on operation is canceled by the immediate
power-on, the driver left the power_transition flag as is.
This caused the persistent avoidance of power-save behavior.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/hda_codec.c