aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/function/uvc_queue.c
diff options
context:
space:
mode:
authorLinyu Yuan <[email protected]>2021-10-19 21:26:35 +0800
committerGreg Kroah-Hartman <[email protected]>2021-10-22 11:18:26 +0200
commitc26f1c109d21f2ea874e4a85c0c76c385b8f46cb (patch)
treef4e3c2b1ea4cc412cd373db5f1a72ebb9aaf7292 /drivers/usb/gadget/function/uvc_queue.c
parent260d88b79c9f9c9d9cda10aad9c9b8486ddcf56a (diff)
usb: gadget: configfs: change config attributes file operation
in order to add trace event in configfs function with same struct gadget_info *gi parameter, add struct config_usb_cfg *cfg variable in below functions, gadget_config_desc_MaxPower_show(), gadget_config_desc_MaxPower_store(), gadget_config_desc_bmAttributes_show(), gadget_config_desc_bmAttributes_store(), this allow following patch easy change cfg to gi with helper function cfg_to_gadget_info(). Signed-off-by: Linyu Yuan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/gadget/function/uvc_queue.c')
0 files changed, 0 insertions, 0 deletions