diff options
author | Ajay Garg <ajaygargnsit@gmail.com> | 2021-09-09 14:06:24 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-09-14 10:27:54 +0200 |
commit | 6b0be25ca029469b5515119b96a6d684cf7d1e82 (patch) | |
tree | 19d6d24ed79bd94591c8e0e9a08df295b35a9900 /drivers/usb/gadget/epautoconf.c | |
parent | usb: gadget: goku_udc: Fix mask and set operation on variable master (diff) | |
download | linux-6b0be25ca029469b5515119b96a6d684cf7d1e82.tar.xz linux-6b0be25ca029469b5515119b96a6d684cf7d1e82.zip |
usb: gadget: fix for a typo that conveys logically-inverted information.
Upon calling usb_ep_autoconfig_release(), the endpoint becomes *not
valid*.
Signed-off-by: Ajay Garg <ajaygargnsit@gmail.com>
Link: https://lore.kernel.org/r/20210909120624.77557-1-ajaygargnsit@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget/epautoconf.c')
-rw-r--r-- | drivers/usb/gadget/epautoconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/epautoconf.c b/drivers/usb/gadget/epautoconf.c index 1eb4fa2e623f..ed5a92c474e5 100644 --- a/drivers/usb/gadget/epautoconf.c +++ b/drivers/usb/gadget/epautoconf.c @@ -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) |