]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ALSA: hda - Don't power up when not powered down.
authorDylan Reid <dgreid@chromium.org>
Fri, 22 Jun 2012 04:51:22 +0000 (21:51 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Aug 2012 15:22:38 +0000 (08:22 -0700)
commita491efddf2e4696794f17a38c77433409a8a52bb
tree0d3323291c53e6ba14372c2dea1f864458dbf79e
parent7eb31a7c9f3d531078e85e461a35db20d3c74ba7
ALSA: hda - Don't power up when not powered down.

commit b43d224767e426cf1a8b6622d1d172f2b2b0e857 upstream.

After cancel_delayed_work_sync returns, the power down work either never
started (power_on == 1) or finished (power_on == 0).  In the former case
there is no need to power up again.

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