diff options
| author | Torleiv Sundre <[email protected]> | 2019-04-28 01:21:13 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-06-11 12:21:58 -0400 |
| commit | 675e2f20b1139633876cdc8f621065fcbd582be9 (patch) | |
| tree | 919eac1e526615c60d62eed9fd0dc7e1c8fbfa60 /tools/perf/scripts/python | |
| parent | 5800571960234f9d1f1011bf135799b2014d4268 (diff) | |
media: uvcvideo: Include streaming interface number in debugfs dir name
uvcvideo creates a debugfs directory based on the device bus number and
device number. If a device contains more than one uvc function, the
creation of the second and following debugfs directories will fail and
print an info message like this:
"uvcvideo: Unable to create debugfs 3-2 directory."
This patch includes the uvc streaming interface number in the debugfs
directory name, to make sure it is unique. The directory name format is
changed from "<busnum>-<devnum>" to "<busnum>-<devnum>-<intfnum>"
Signed-off-by: Torleiv Sundre <[email protected]>
Signed-off-by: Laurent Pinchart <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions