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