Files
linux/drivers/usb/core
Kuen-Han Tsai c05ebd0ec9 usb: core: Centralize device state update logic
Introduce a new static function, update_usb_device_state(), to
centralize the process of changing a device's state, including the
management of active_duration during suspend/resume transitions.

This change prepares for adding tracepoints, allowing tracing logic to
be added in a single, central location within the new helper function.

Signed-off-by: Kuen-Han Tsai <khtsai@google.com>
Reviewed-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://patch.msgid.link/20251015-usbcore-tracing-v2-1-5a14b5b9d4e0@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-10-22 10:58:30 +02:00
..
2025-09-15 08:18:40 +02:00
2023-07-25 17:49:30 +02:00
2025-06-19 12:36:19 +02:00