ALSA: pcm: Fix document for snd_pcm_stop_xrun()
authorTakashi Iwai <tiwai@suse.de>
Mon, 10 Nov 2014 06:38:22 +0000 (07:38 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 10 Nov 2014 06:38:22 +0000 (07:38 +0100)
Fix a copy & paste error:
 Warning(sound/core/pcm_native.c:1112): Excess function parameter 'state' description in 'snd_pcm_stop_xrun'

The state argument was dropped from snd_pcm_stop_xrun().

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_native.c

index a3d1221097045ac32e7b3f2b301d9545d84c949a..095d9572ad2b3a683b3d671845d63c38a2856b30 100644 (file)
@@ -1101,7 +1101,6 @@ int snd_pcm_drain_done(struct snd_pcm_substream *substream)
 /**
  * snd_pcm_stop_xrun - stop the running streams as XRUN
  * @substream: the PCM substream instance
- * @state: PCM state after stopping the stream
  *
  * This stops the given running substream (and all linked substreams) as XRUN.
  * Unlike snd_pcm_stop(), this function takes the substream lock by itself.