summaryrefslogtreecommitdiffstats
path: root/drivers/auxdisplay
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@gmail.com>2023-10-26 22:01:14 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-27 12:58:16 +0200
commitc3a383d8d382e066038ab245c8d2b6d02f4bf8a2 (patch)
treea0dab8fa35c85c372b541d81a4ca42665aa40b2d /drivers/auxdisplay
parentusb: raw-gadget: don't disable device if usb_ep_queue fails (diff)
downloadlinux-c3a383d8d382e066038ab245c8d2b6d02f4bf8a2.tar.xz
linux-c3a383d8d382e066038ab245c8d2b6d02f4bf8a2.zip
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>
Diffstat (limited to 'drivers/auxdisplay')
0 files changed, 0 insertions, 0 deletions