[PATCH] snd/soc: correct trivial kernel-doc inconsistency
Pierre-Louis Bossart
pierre-louis.bossart at linux.intel.com
Fri Jun 26 16:35:27 CEST 2020
On 6/26/20 12:40 AM, Colton Lewis wrote:
> Silence documentation build warning by correcting kernel-doc comment
> for snd_soc_runtime_action.
>
> ./sound/soc/soc-pcm.c:220: warning: Function parameter or member 'action' not described in 'snd_soc_runtime_action'
>
> Signed-off-by: Colton Lewis <colton.w.lewis at protonmail.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
> ---
> sound/soc/soc-pcm.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c
> index 2c114b4542ce..9ab376844ac1 100644
> --- a/sound/soc/soc-pcm.c
> +++ b/sound/soc/soc-pcm.c
> @@ -208,6 +208,7 @@ static inline void dpcm_remove_debugfs_state(struct snd_soc_dpcm *dpcm)
> * PCM runtime components
> * @rtd: ASoC PCM runtime that is activated
> * @stream: Direction of the PCM stream
> + * @action: Activate stream if 1. Deactivate if -1.
> *
> * Increments/Decrements the active count for all the DAIs and components
> * attached to a PCM runtime.
>
More information about the Alsa-devel
mailing list