Add a new helper function snd_pcm_stop_xrun() to the standard sequnce lock/snd_pcm_stop(XRUN)/unlock by a single call, and replace the existing open codes with this helper. The function checks the PCM running state to prevent setting the wrong state, too, for more safety. Signed-off-by: Takashi Iwai <tiwai@suse.de> |
||
---|---|---|
.. | ||
atmel-pcm-dma.c | ||
atmel-pcm-pdc.c | ||
atmel-pcm.c | ||
atmel-pcm.h | ||
atmel_ssc_dai.c | ||
atmel_ssc_dai.h | ||
atmel_wm8904.c | ||
Kconfig | ||
Makefile | ||
sam9g20_wm8731.c | ||
sam9x5_wm8731.c | ||
snd-soc-afeb9260.c |