linux/sound/usb/6fire
Takashi Iwai 1fb8510cdb ALSA: pcm: Add snd_pcm_stop_xrun() helper
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>
2014-11-09 18:20:40 +01:00
..
Makefile
chip.c ALSA: 6fire: Use standard printk helpers 2014-02-26 17:22:09 +01:00
chip.h ALSA: snd-usb-6fire: remove driver version information 2012-02-22 15:50:45 +01:00
comm.c ALSA: 6fire: Use standard printk helpers 2014-02-26 17:22:09 +01:00
comm.h ALSA: 6fire: fix DMA issues with URB transfer_buffer usage 2013-08-07 16:04:27 +02:00
common.h ALSA: snd-usb-6fire: remove driver version information 2012-02-22 15:50:45 +01:00
control.c ALSA: 6fire: Use snd_ctl_enum_info() 2014-10-21 09:17:47 +02:00
control.h ALSA: snd-usb-6fire: remove __dev* attributes 2012-12-07 07:34:46 +01:00
firmware.c ALSA: 6fire: Use standard printk helpers 2014-02-26 17:22:09 +01:00
firmware.h ALSA: snd-usb-6fire: remove __dev* attributes 2012-12-07 07:34:46 +01:00
midi.c ALSA: 6fire: Use standard printk helpers 2014-02-26 17:22:09 +01:00
midi.h ALSA: 6fire: make buffers DMA-able (midi) 2013-08-12 11:42:28 +02:00
pcm.c ALSA: pcm: Add snd_pcm_stop_xrun() helper 2014-11-09 18:20:40 +01:00
pcm.h ALSA: 6fire: make buffers DMA-able (pcm) 2013-08-12 11:42:28 +02:00