commit | a2d96e778d1b15d2213f3b7737aa86fd8eda44cb | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed May 09 12:36:22 2012 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Wed May 09 12:36:22 2012 +0200 |
tree | da44538e096a40b3549100c43cae0fd640159111 | |
parent | 607d4f7f0551eb591fbaca4bf44a8d6251e82f00 [diff] |
ALSA: hda - More robustify the power-up/down sequence Check the power_transition up/down state instead of boolean bit, so that the power-up sequence can cancel the pending power-down work properly. Also, by moving cancel_delayed_work_sync() before the actual power-up sequence, make sure that the delayed power-down is completed. Signed-off-by: Takashi Iwai <tiwai@suse.de>