From: Takashi Iwai Date: Mon, 19 Nov 2012 13:14:58 +0000 (+0100) Subject: ALSA: hda - Fix recursive suspend/resume call X-Git-Tag: v3.7-rc7~12^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=989c3187156ad197ae473fa9d9d506eef9624f12;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed