diff options
author | Takashi Iwai <tiwai@suse.de> | 2022-07-13 12:47:56 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-07-13 13:42:36 +0200 |
commit | b05d834ef8f8fbd90b1bacca909c1eeec02e3625 (patch) | |
tree | be25a621ddbc28adbe02532a57bd964dcf0b0329 /sound/core | |
parent | ALSA: dmaengine: Fix missing return value comments for kernel docs (diff) | |
download | linux-b05d834ef8f8fbd90b1bacca909c1eeec02e3625.tar.xz linux-b05d834ef8f8fbd90b1bacca909c1eeec02e3625.zip |
ALSA: compress: Fix kernel doc warnings
Each kernel doc comment expects the definition of the return value and
the summary for each struct / enum in a proper format. This patch
adds or fixes the missing entries for compress-offload API.
Link: https://lore.kernel.org/r/20220713104759.4365-5-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
-rw-r--r-- | sound/core/compress_offload.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/core/compress_offload.c b/sound/core/compress_offload.c index cf415fe231ed..243acad89fd3 100644 --- a/sound/core/compress_offload.c +++ b/sound/core/compress_offload.c @@ -818,6 +818,8 @@ static void error_delayed_work(struct work_struct *work) * Stop the stream and set its state. * * Should be called with compressed device lock held. + * + * Return: zero if successful, or a negative error code */ int snd_compr_stop_error(struct snd_compr_stream *stream, snd_pcm_state_t state) @@ -1164,6 +1166,8 @@ static int snd_compress_dev_free(struct snd_device *device) * @dirn: device direction, should be of type enum snd_compr_direction * @id: ID string * @compr: compress device pointer + * + * Return: zero if successful, or a negative error code */ int snd_compress_new(struct snd_card *card, int device, int dirn, const char *id, struct snd_compr *compr) |