Skip to contentSkip to conversation

usb: gadget: fix for a typo that conveys logically-inverted information.

PATCH New Ajay Garg 1 participant 1 message Sep 9, 2021 USB

lore
Share & tools
lore

Ajay Garg

author
#0 lore raw

PATCH 1/1 usb: gadget: fix for a typo that conveys logically-inverted information.

Upon calling usb_ep_autoconfig_release(), the endpoint becomes *not valid*.

---
 drivers/usb/gadget/epautoconf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/gadget/epautoconf.c +1 -1
index 1eb4fa2e623f..ed5a92c474e5 100644
@@ -181,7 +181,7 @@ EXPORT_SYMBOL_GPL(usb_ep_autoconfig);
  * This function can be used during function bind for endpoints obtained
  * from usb_ep_autoconfig(). It unclaims endpoint claimed by
  * usb_ep_autoconfig() to make it available for other functions. Endpoint
- * which was released is no longer invalid and shouldn't be used in
+ * which was released is no longer valid and shouldn't be used in
  * context of function which released it.
  */
 void usb_ep_autoconfig_release(struct usb_ep *ep)
Signature · 1 line
2.30.2