commit | 67e225009bb15403341d313f51326113c61af7df | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Thu Nov 06 13:04:49 2014 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Thu Nov 06 13:04:49 2014 +0100 |
tree | a92fd6b4d300b3ec750df1503bfe3af61cb19aac | |
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>