mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
usb: gadget: uvc: Expose configuration name through video node
When utilising multiple instantiations of a UVC gadget on a composite device, there is no clear method to link a particular configuration to its respective video node. Provide a means for identifying the correct video node by exposing the name of the function configuration through sysfs. Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Kieran Bingham <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
This commit is contained in:
parent
c728effd56
commit
d7af78b924
2 changed files with 28 additions and 1 deletions
|
|
@ -263,3 +263,8 @@ Description: Specific streaming header descriptors
|
|||
is connected
|
||||
bmInfo - capabilities of this video streaming
|
||||
interface
|
||||
|
||||
What: /sys/class/udc/udc.name/device/gadget/video4linux/video.name/function_name
|
||||
Date: May 2018
|
||||
KernelVersion: 4.19
|
||||
Description: UVC configfs function instance name
|
||||
|
|
|
|||
Loading…
Reference in a new issue