qmk_firmware/tmk_core/protocol
Kieran Levin 385ed1a291 fix selective suspend on RP2040
the tmk_core chibios protocol_pre_task does not
process any usb events when the host is in suspend.

I think there is a race condition where the usb_event_queue_task
will not be processed depending on when usb goes to sleep.
so we may fall into the
while (USB_DRIVER.state == USB_SUSPENDED) {
which comes directly from the hardware interrupt.
and never process pending events in
usb_event_queue_task();

Signed-off-by: Kieran Levin <ktl@frame.work>
2023-11-17 19:04:24 +08:00
..
arm_atsam quantum: remove direct quantum.h includes (#21507) 2023-07-16 23:42:56 +10:00
chibios fix selective suspend on RP2040 2023-11-17 19:04:24 +08:00
lufa Merge remote-tracking branch 'upstream/develop' into fl16-sleep-fix 2023-07-21 08:34:44 +08:00
usb_hid Move protocol makefiles into their respective folders (#21332) 2023-06-22 15:07:28 +01:00
vusb Merge remote-tracking branch 'upstream/develop' into fl16-sleep-fix 2023-07-21 08:34:44 +08:00
host_driver.h Implement Airplane Radio Button 2023-03-02 18:30:42 +08:00
host.c Implement Airplane Radio Button 2023-03-02 18:30:42 +08:00
host.h Merge remote-tracking branch 'upstream/master' into lotus-march2023 2023-03-22 02:54:55 +08:00
report.c [Core] Move has_mouse_report_changed function to report.c (#16543) 2022-03-14 00:01:47 +00:00
report.h Merge remote-tracking branch 'upstream/master' into lotus-march2023 2023-03-22 02:54:55 +08:00
usb_descriptor_common.h Joystick feature improvements (#19052) 2022-11-27 03:14:45 +11:00
usb_descriptor.c Add SelectiveSuspend MSOS2.0 descriptor 2023-11-17 19:04:24 +08:00
usb_descriptor.h Add Microsoft OS 2.0 capability descrciptor 2023-11-17 19:04:24 +08:00
usb_device_state.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
usb_device_state.h Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
usb_util.c tmk_core: remove direct quantum.h includes (#21465) 2023-07-07 21:24:07 +10:00
usb_util.h tmk_core: remove direct quantum.h includes (#21465) 2023-07-07 21:24:07 +10:00