diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-05-02 20:17:06 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-05-02 20:17:06 +0400 |
commit | 1ee23fe07ee83a38ecee927e701f762888ada942 (patch) | |
tree | f8af5087956bef2a461410b49584dc3bd2cd988c /sound/usb/card.h | |
parent | 1c53e7253ed8769a00afa0f06777d731dbe1ba6f (diff) | |
download | linux-1ee23fe07ee83a38ecee927e701f762888ada942.tar.xz |
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 <gquigs@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/card.h')
0 files changed, 0 insertions, 0 deletions