diff options
author | Takashi Iwai <tiwai@suse.de> | 2022-07-13 12:47:59 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-07-13 13:42:38 +0200 |
commit | 281dee6707a869e0f40cac81b6b65c703192aa9d (patch) | |
tree | a7b67be8f96781036ff3ac43c0b676ba4b3c67e0 /sound/core/device.c | |
parent | 6eba99d4ce2487f2050b8787029cabfcfb748ee4 (diff) | |
download | linux-281dee6707a869e0f40cac81b6b65c703192aa9d.tar.gz |
ALSA: core: Fix missing return value comments for kernel docs
Each kernel doc comment expects the definition of the return value in
a proper format. This patch adds or fixes the missing entries for the
remaining ALSA core API functions.
Link: https://lore.kernel.org/r/20220713104759.4365-8-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/device.c')
-rw-r--r-- | sound/core/device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/core/device.c b/sound/core/device.c index bf0b04a7ee79..b57d80a17052 100644 --- a/sound/core/device.c +++ b/sound/core/device.c @@ -247,6 +247,8 @@ void snd_device_free_all(struct snd_card *card) * device, either @SNDRV_DEV_BUILD, @SNDRV_DEV_REGISTERED or * @SNDRV_DEV_DISCONNECTED is returned. * Or for a non-existing device, -1 is returned as an error. + * + * Return: the current state, or -1 if not found */ int snd_device_get_state(struct snd_card *card, void *device_data) { |