From 67e225009bb15403341d313f51326113c61af7df Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 6 Nov 2014 13:04:49 +0100 Subject: [PATCH] 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 --- Reading git-format-patch failed