]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
usb: dwc3: Refactor dwc3_mode_show
authorKuen-Han Tsai <khtsai@google.com>
Fri, 22 Aug 2025 09:23:46 +0000 (17:23 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Sep 2025 13:21:59 +0000 (15:21 +0200)
commit4c9860fbe66177fddb8b7161d6809110d3960a6e
tree6337d2116146941eb331d5e6673856d3f4e65352
parent55f4ac8f93f4281134dfcf47de7b4588bb6074f2
usb: dwc3: Refactor dwc3_mode_show

Use dwc3_mode_string as the single source of truth for mode-to-string
conversion.

Signed-off-by: Kuen-Han Tsai <khtsai@google.com>
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/20250822092411.173519-2-khtsai@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/debugfs.c