linux-uconsole/include/uapi/linux/usb
Andrey Konovalov 95a1574c0a UPSTREAM: usb: raw-gadget: support stalling/halting/wedging endpoints
Raw Gadget is currently unable to stall/halt/wedge gadget endpoints,
which is required for proper emulation of certain USB classes.

This patch adds a few more ioctls:

- USB_RAW_IOCTL_EP0_STALL allows to stall control endpoint #0 when
  there's a pending setup request for it.
- USB_RAW_IOCTL_SET/CLEAR_HALT/WEDGE allow to set/clear halt/wedge status
  on non-control non-isochronous endpoints.

Fixes: f2c2e71764 ("usb: gadget: add raw-gadget interface")
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Bug: 147413187
(cherry picked from commit c61769bd47)
Change-Id: If3bb63894ff9fec4cc59b5ff04c6caf2898c9600
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
2020-06-01 22:15:34 +02:00
..
audio.h ALSA: usb-audio: Fix parse of UAC2 Extension Units 2019-07-14 08:11:16 +02:00
cdc-wdm.h License cleanup: add SPDX license identifier to uapi header files with a license 2017-11-02 11:20:11 +01:00
cdc.h
ch9.h ANDROID: GKI: usb: core: Add support to parse config summary capability descriptors 2020-04-24 23:47:06 +00:00
ch11.h USB: Add support to store lane count used by USB 3.2 2018-04-22 16:11:19 +02:00
charger.h usb: charger: assign specific number for enum value 2020-03-05 16:42:20 +01:00
f_accessory.h ANDROID: usb: gadget: f_accessory: Add Android Accessory function 2018-12-05 09:48:11 -08:00
functionfs.h
g_printer.h License cleanup: add SPDX license identifier to uapi header files with a license 2017-11-02 11:20:11 +01:00
g_uvc.h usb: gadget: uvc: Move userspace API definition to public header 2018-07-26 13:33:39 +03:00
gadgetfs.h
midi.h License cleanup: add SPDX license identifier to uapi header files with a license 2017-11-02 11:20:11 +01:00
raw_gadget.h UPSTREAM: usb: raw-gadget: support stalling/halting/wedging endpoints 2020-06-01 22:15:34 +02:00
tmc.h usb: usbtmc: Add ioctl for termination character 2018-07-21 08:22:15 +02:00
video.h