diff options
author | Andrey Konovalov <andreyknvl@google.com> | 2020-05-07 20:06:57 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2020-05-14 12:30:18 +0300 |
commit | c61769bd4777a922952aed0d042a2572e5bd9b74 (patch) | |
tree | fe490ffcffdad1d0a4a0c264372cb4c1fd2e6f6c /scripts/link-vmlinux.sh | |
parent | 97df5e5758f7d1dd0ca97e3210696818fc45bdb3 (diff) | |
download | linux-c61769bd4777a922952aed0d042a2572e5bd9b74.tar.xz |
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: f2c2e717642c ("usb: gadget: add raw-gadget interface")
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'scripts/link-vmlinux.sh')
0 files changed, 0 insertions, 0 deletions