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)
committerTakashi Iwai <tiwai@suse.de>
Fri, 22 Jun 2012 07:08:58 +0000 (09:08 +0200)
commitb43d224767e426cf1a8b6622d1d172f2b2b0e857
tree0109819c40a3661372c36b400fdf4cd8db69f21a
parente9ea8e8f229f4963bf01658e79c1c01780de25dd
ALSA: hda - Don't power up when not powered down.

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>
sound/pci/hda/hda_codec.c