Files
kernel_arpi/include/uapi/linux
Andrey Konovalov f1bafa5cc9 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-02 08:43:46 +00:00
..
2020-01-12 15:36:52 +01:00
2019-07-09 12:11:59 -07:00
2019-05-23 21:07:30 -04:00
2019-09-19 14:22:44 +02:00
2019-09-25 17:51:39 -07:00
2019-08-02 14:44:02 +10:00
2019-09-16 10:18:01 -04:00
2020-05-06 08:15:01 +02:00
2019-08-12 19:33:50 -07:00
2019-09-18 10:43:22 -06:00
2019-09-08 15:37:04 +02:00
2019-08-19 13:04:45 -07:00
2019-05-28 21:37:30 -07:00
2019-09-23 16:10:28 -05:00
2019-10-02 20:32:27 -06:00
2019-07-30 20:34:34 +02:00
2019-05-28 21:37:30 -07:00
2019-11-05 15:50:14 +01:00
2020-01-08 15:26:59 -08:00
2019-09-16 16:26:11 +02:00
2019-09-18 20:17:50 +02:00
2019-08-01 21:49:46 +02:00