ALSA: pcm: Add xrun_injection proc entry
authorTakashi Iwai <tiwai@suse.de>
Tue, 4 Nov 2014 13:02:40 +0000 (14:02 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 4 Nov 2014 13:09:16 +0000 (14:09 +0100)
This patch adds a new proc entry for PCM substreams to inject an
XRUN.  When a PCM substream is running and any value is written to its
xrun_injection proc file, the driver triggers XRUN.  This is a useful
feature for debugging XRUN and error handling code paths.

Note that this entry is enabled only when CONFIG_SND_PCM_XRUN_DEBUG is
set.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found