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)
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>

No differences found