aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/arm
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2012-08-29 07:17:05 -0400
committerTakashi Iwai <tiwai@suse.de>2012-08-30 01:46:27 -0400
commit015618b902ae8e28705b7af9b4668615fea48ddd (patch)
tree43832c8eeaad08cf294da8a438512815858cfa66 /Documentation/arm
parentc36b5b054aaf14d68261970e3769398110e636d8 (diff)
ALSA: snd-usb: Fix URB cancellation at stream start
Commit e9ba389c5 ("ALSA: usb-audio: Fix scheduling-while-atomic bug in PCM capture stream") fixed a scheduling-while-atomic bug that happened when snd_usb_endpoint_start was called from the trigger callback, which is an atmic context. However, the patch breaks the idea of the endpoints reference counting, which is the reason why the driver has been refactored lately. Revert that commit and let snd_usb_endpoint_start() take care of the URB cancellation again. As this function is called from both atomic and non-atomic context, add a flag to denote whether the function may sleep. Signed-off-by: Daniel Mack <zonque@gmail.com> Cc: stable@kernel.org [3.5+] Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'Documentation/arm')
0 files changed, 0 insertions, 0 deletions