Skip to content
Commit a2d96e77 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 607d4f7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment