From: Takashi Iwai Date: Mon, 10 Nov 2014 06:38:22 +0000 (+0100) Subject: ALSA: pcm: Fix document for snd_pcm_stop_xrun() X-Git-Tag: Ubuntu-snapdragon-4.4.0-1050.54~9123^2~21^2~74 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=48b217aa43abc8c3545bb9b4d7a5b525b71d6ac2;p=mirror_ubuntu-artful-kernel.git ALSA: pcm: Fix document for snd_pcm_stop_xrun() 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 Signed-off-by: Takashi Iwai --- diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c index a3d122109704..095d9572ad2b 100644 --- a/sound/core/pcm_native.c +++ b/sound/core/pcm_native.c @@ -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.