ALSA: usb-audio: Correct document for snd_usb_endpoint_free_all()
authorTakashi Iwai <tiwai@suse.de>
Fri, 5 Feb 2021 08:28:37 +0000 (09:28 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 5 Feb 2021 09:01:11 +0000 (10:01 +0100)
The kerndoc comment for the new function snd_usb_endpoint_free_all()
had a typo wrt the argument name.  Fix it.

Fixes: 00272c61827e ("ALSA: usb-audio: Avoid unnecessary interface re-setup")
Reported-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210205082837.6327-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/endpoint.c

index 8e568823c99246ff66d88be10bf0d692e4bad95b..4d1c678a0d8087ec6df6230e739ebbe13799249d 100644 (file)
@@ -1451,7 +1451,7 @@ void snd_usb_endpoint_release(struct snd_usb_endpoint *ep)
 
 /**
  * snd_usb_endpoint_free_all: Free the resources of an snd_usb_endpoint
- * @card: The chip
+ * @chip: The chip
  *
  * This free all endpoints and those resources
  */