aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-05-23 18:47:56 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-09-24 18:54:26 +0300
commitbf71544883a1ccb20021eb5139475496dbd8abd9 (patch)
treee9614859bafc12c92acfa0ff9f09f27eb10fa939 /tools/perf/scripts/python
parentusb: gadget: uvc: configfs: Allocate groups dynamically (diff)
downloadlinux-bf71544883a1ccb20021eb5139475496dbd8abd9.tar.gz
linux-bf71544883a1ccb20021eb5139475496dbd8abd9.zip
usb: gadget: uvc: configfs: Add interface number attributes
The video control and video streaming interface numbers are needed in the UVC gadget userspace stack to reply to UVC requests. They are hardcoded to fixed values at the moment, preventing configurations with multiple functions. To fix this, make them dynamically discoverable by userspace through read-only configfs attributes in <function>/control/bInterfaceNumber and <function>/streaming/bInterfaceNumber respectively. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions