aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/usb.h
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@gmail.com>2023-08-28 17:43:03 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-02 16:43:05 +0200
commitcf9f7a6ee7b1f53f9ae13da55585b7d16aee2460 (patch)
treee7201448787b7cd3558e31adbc1b7d55fcb9a4b0 /include/linux/usb.h
parentusb: gadget: clarify usage of USB_GADGET_DELAYED_STATUS (diff)
downloadwireguard-linux-cf9f7a6ee7b1f53f9ae13da55585b7d16aee2460.tar.xz
wireguard-linux-cf9f7a6ee7b1f53f9ae13da55585b7d16aee2460.zip
usb: raw-gadget: return USB_GADGET_DELAYED_STATUS from setup()
Return USB_GADGET_DELAYED_STATUS from the setup() callback for 0-length transfers as a workaround to stop some UDC drivers (e.g. dwc3) from automatically proceeding with the status stage. This workaround should be removed once all UDC drivers are fixed to always delay the status stage until a response is queued to EP0. Signed-off-by: Andrey Konovalov <andreyknvl@gmail.com> Link: https://lore.kernel.org/r/c56077322f0d3fc6d504092a266cb89d75701087.1693237258.git.andreyknvl@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb.h')
0 files changed, 0 insertions, 0 deletions