diff options
author | Takashi Iwai | 2014-11-06 13:04:49 +0100 |
---|---|---|
committer | Takashi Iwai | 2014-11-06 13:04:49 +0100 |
commit | 67e225009bb15403341d313f51326113c61af7df (patch) | |
tree | a92fd6b4d300b3ec750df1503bfe3af61cb19aac /sound/core/control.c | |
parent | 9bc889b4ba88a3f2d81e4b799d47d71d7381573a (diff) |
ALSA: usb-audio: Trigger PCM XRUN at XRUN
The usb-audio driver detects XRUN at its complete callback, but the
actual code to trigger PCM XRUN is commented out because it caused
deadlock in the past. This patch revives the PCM trigger properly.
It resulted in more than just enabling snd_pcm_stop(), but it had to
deduce the PCM substream with proper NULL checks and holds the stream
lock around the call.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/control.c')
0 files changed, 0 insertions, 0 deletions