aboutsummaryrefslogtreecommitdiff
path: root/rust/kernel/allocator.rs
diff options
context:
space:
mode:
authorElson Roy Serrao <[email protected]>2023-08-01 12:26:58 -0700
committerGreg Kroah-Hartman <[email protected]>2023-08-04 14:57:23 +0200
commit3ddaa6a274578e23745b7466346fc2650df8f959 (patch)
treee6b1c6301de955262fe6f3d70f2da8ed0269cfeb /rust/kernel/allocator.rs
parenta6ff6e7a9dd69364547751db0f626a10a6d628d2 (diff)
usb: dwc3: Properly handle processing of pending events
If dwc3 is runtime suspended we defer processing the event buffer until resume, by setting the pending_events flag. Set this flag before triggering resume to avoid race with the runtime resume callback. While handling the pending events, in addition to checking the event buffer we also need to process it. Handle this by explicitly calling dwc3_thread_interrupt(). Also balance the runtime pm get() operation that triggered this processing. Cc: [email protected] Fixes: fc8bb91bc83e ("usb: dwc3: implement runtime PM") Signed-off-by: Elson Roy Serrao <[email protected]> Acked-by: Thinh Nguyen <[email protected]> Reviewed-by: Roger Quadros <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'rust/kernel/allocator.rs')
0 files changed, 0 insertions, 0 deletions