linux-stable/include/uapi/linux/usb
Andrey Konovalov c3a383d8d3 usb: raw-gadget: report suspend, resume, reset, and disconnect events
Update USB_RAW_IOCTL_EVENT_FETCH to also report suspend, resume, reset,
and disconnect events.

This allows the code that emulates a USB device via Raw Gadget to handle
these events. For example, the device can restart enumeration when it
gets reset.

Also do not print a WARNING when the event queue overflows. With these new
events being queued, the queue might overflow if the device emulation code
stops fetching events.

Also print debug messages when a non-control event is received.

Signed-off-by: Andrey Konovalov <andreyknvl@gmail.com>
Link: https://lore.kernel.org/r/d610b629a5f32fb76c24012180743f7f0f1872c0.1698350424.git.andreyknvl@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-27 12:58:16 +02:00
..
audio.h treewide: uapi: Replace zero-length arrays with flexible-array members 2022-06-28 21:26:05 +02:00
cdc-wdm.h
cdc.h USB / Thunderbolt changes for 6.0-rc1 2022-08-04 11:41:28 -07:00
ch9.h USB: Remove remnants of Wireless USB and UWB 2023-08-09 14:17:06 +02:00
ch11.h USB: Remove remnants of Wireless USB and UWB 2023-08-09 14:17:06 +02:00
charger.h usb: charger: assign specific number for enum value 2020-02-10 11:08:30 -08:00
functionfs.h
g_printer.h
g_uvc.h usb: gadget: uvc: default the ctrl request interface offsets 2022-10-22 13:22:40 +02:00
gadgetfs.h
midi.h
raw_gadget.h usb: raw-gadget: report suspend, resume, reset, and disconnect events 2023-10-27 12:58:16 +02:00
tmc.h USB: usbtmc: Add separate USBTMC_IOCTL_GET_SRQ_STB 2020-12-28 15:50:30 +01:00
video.h usb: uvc: Enumerate valid values for color matching 2023-02-06 13:46:42 +01:00