From: Takashi Iwai Date: Fri, 2 May 2014 16:17:06 +0000 (+0200) Subject: ALSA: usb-audio: Fix deadlocks at resuming X-Git-Tag: omap-for-v3.16/fixes-against-rc1~202^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ee23fe07ee83a38ecee927e701f762888ada942;p=pandora-kernel.git ALSA: usb-audio: Fix deadlocks at resuming The recent addition of the USB audio mixer suspend/resume may lead to deadlocks when the driver tries to call usb_autopm_get_interface() recursively, since the function tries to sync with the finish of the other calls. For avoiding it, introduce a flag indicating the resume operation and avoids the recursive usb_autopm_get_interface() calls during the resume. Reported-and-tested-by: Bryan Quigley Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed