Commit cd5fca61 authored by Kuen-Han Tsai's avatar Kuen-Han Tsai Committed by Treehugger Robot
Browse files

FROMGIT: usb: udc: Add trace event for usb_gadget_set_state



While the userspace program can be notified of gadget state changes,
timing issue can lead to missed transitions when reading the state
value.

Introduce a trace event for usb_gadget_set_state to reliably track state
transitions.

Signed-off-by: default avatarKuen-Han Tsai <khtsai@google.com>
Link: https://lore.kernel.org/r/20250818082722.2952867-1-khtsai@google.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

(cherry picked from commit 7bf11585 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git

 usb-next)

Bug: 427760780
Change-Id: I453debd67052ed11e4de351031a39e7a6d7970cc
Signed-off-by: default avatarKuen-Han Tsai <khtsai@google.com>
parent 3bf0188b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment