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
..
2019-05-03 12:22:22 -07:00
2019-11-05 12:44:34 +01:00
2019-06-05 10:55:30 -04:00
2019-09-07 17:44:25 +02:00
2020-01-12 15:36:52 +01:00
2019-09-25 11:00:46 +02:00
2019-08-14 23:36:27 +02:00
2019-08-14 23:36:27 +02:00
2019-09-10 09:26:33 -04:00
2019-09-13 13:10:06 -07:00
2019-06-24 19:23:46 +02:00
2019-07-09 12:11:59 -07:00
2020-06-02 08:43:46 +00:00
2019-06-26 20:14:13 -04:00
2019-05-23 21:07:30 -04:00
2019-06-27 19:25:05 +02:00
2020-01-07 16:02:45 -08:00
2019-09-06 16:49:17 +02:00
2019-07-25 11:05:10 +02:00
2019-09-19 14:22:44 +02:00
2019-09-09 14:59:19 +02:00
2019-09-09 14:59:05 +02:00
2019-11-05 12:44:34 +01:00
2019-12-31 16:43:43 +01:00
2019-12-17 19:56:20 +01:00
2019-07-16 19:23:23 -07:00
2019-09-25 17:51:39 -07:00
2020-04-08 09:08:42 +02:00
2019-08-02 14:44:02 +10:00
2019-11-11 16:04:21 -08:00
2019-09-16 10:18:01 -04:00
2020-05-06 08:15:01 +02:00
2019-09-16 22:02:45 +02:00
2019-08-05 17:56:46 +02:00
2019-09-21 14:26:33 -07:00
2020-05-21 11:54:16 -07:00
2019-08-12 19:33:50 -07:00
2019-10-23 14:26:37 +02:00
2019-09-04 12:43:54 +02:00
2019-07-31 19:13:40 -04:00
2019-06-05 13:04:29 -07:00
2019-07-04 12:30:48 -07:00
2019-06-29 11:06:17 -07:00
2019-08-31 01:08:26 +02:00
2020-04-03 17:20:28 +00:00
2019-08-31 23:44:28 -07:00
2019-10-25 18:03:51 +00:00
2020-01-14 20:08:24 +01:00
2019-09-18 10:43:22 -06:00
2019-06-18 17:14:35 +02:00
2020-02-18 23:09:23 +00:00
2019-07-04 02:29:49 +02:00
2019-07-25 11:05:10 +02:00
2019-07-25 11:05:10 +02:00
2019-08-22 17:24:51 +02:00
2020-01-15 14:55:05 +00:00
2019-09-08 15:37:04 +02:00
2019-07-10 18:43:43 -07:00
2019-08-07 10:21:38 -05:00
2019-07-02 18:56:01 +02:00
2019-09-27 13:08:36 -07:00
2019-09-20 16:07:54 -07:00
2019-08-19 13:04:45 -07:00
2019-06-25 22:14:11 +02:00
2019-06-21 16:45:38 -04:00
2019-06-06 13:48:51 -07:00
2019-08-23 14:58:07 -07:00
2019-05-28 21:37:30 -07:00
2019-07-12 11:05:40 -07:00
2019-08-30 12:28:44 +02:00
2019-11-06 06:17:38 +09:00
2019-09-06 14:59:18 +02:00
2019-09-23 16:10:28 -05:00
2019-08-28 11:29:38 +02:00
2019-10-02 20:32:27 -06:00
2019-09-06 15:02:16 +02:00
2020-05-02 08:49:00 +02:00
2019-07-30 20:34:34 +02:00
2019-09-20 16:07:54 -07:00
2019-07-25 11:05:10 +02:00
2019-11-15 12:48:32 -08:00
2019-07-16 19:23:24 -07:00
2020-02-20 10:08:46 -08:00
2019-08-24 16:55:25 -07:00
2019-05-28 21:37:30 -07:00
2019-07-25 11:05:10 +02:00
2019-11-05 15:50:14 +01:00
2019-08-27 20:54:14 -07:00
2019-06-29 10:33:57 -06:00
2019-10-04 15:57:51 +02:00
2020-04-01 11:01:57 +02:00
2019-06-17 20:20:36 -07:00
2019-08-03 11:02:46 -07:00
2020-01-08 15:26:59 -08:00
2020-04-13 10:48:12 +02:00
2019-09-16 16:26:11 +02:00
2019-05-20 20:16:08 -04:00
2019-08-31 23:44:28 -07:00
2019-05-22 10:36:35 -07:00
2019-08-14 16:52:13 +02:00
2020-05-14 22:48:36 +00:00
2019-07-25 11:05:10 +02:00
2019-07-25 11:05:10 +02:00
2019-08-23 11:26:24 -06:00
2019-10-29 18:11:34 +00:00
2019-09-18 20:17:50 +02:00
2019-09-18 20:17:50 +02:00
2019-07-22 11:52:27 -04:00
2019-07-25 11:05:10 +02:00
2019-07-25 11:05:10 +02:00
2019-08-01 21:49:46 +02:00
2019-07-25 11:05:10 +02:00
2019-11-05 13:50:57 -08:00