aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-11-19 14:14:58 +0100
committerTakashi Iwai <tiwai@suse.de>2012-11-19 14:14:58 +0100
commit989c3187156ad197ae473fa9d9d506eef9624f12 (patch)
tree2f18bbd11a8811729e039ab1cb72cdc21f74254f /sound/pci/hda/patch_realtek.c
parent0ced14fbda44bf9c4977f1b01ae1077b944b94ab (diff)
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: Julian Wollrath <jwollrath@web.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
0 files changed, 0 insertions, 0 deletions