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

ALSA: hda - Fix recursive suspend/resume call



When the bus reset is performed during the suspend/resume (including
the power-saving too), it calls snd_hda_suspend() and
snd_hda_resume() again, and deadlocks eventually.

For avoiding the recursive call, add a new flag indicating that the PM
is being performed, and don't go to the bus reset mode when it's on.

Reported-and-tested-by: default avatarJulian Wollrath <jwollrath@web.de>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 0ced14fb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment