]> www.infradead.org Git - users/hch/misc.git/commit
usb: common: expand documentation for USB functions
authorLucy Mielke <lucymielke@icloud.com>
Tue, 10 Dec 2024 10:29:09 +0000 (11:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Dec 2024 17:40:26 +0000 (18:40 +0100)
commitfe021328dfc29ef617a969a04d8727d5a57ae6f9
tree12c5ba67c603f247f77cc3f910c42f54971a1686
parentded71f07f92f83b7695f974db9951a8b014cbefc
usb: common: expand documentation for USB functions

This patch adds documentation for two USB functions:
- usb_otg_state_string(), which returns a human-readable name for OTG
  states and
- usb_get_dr_mode_from_string(), which returns the dual role mode for a
  given string.

Signed-off-by: Lucy Mielke <lucymielke@icloud.com>
Link: https://lore.kernel.org/r/6nvegfmo6d5ak4soaf5nyifsaasfts4qlsnnpsd4sgpnikc2jd@amfmgdr5n3bi
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/common/common.c