diff options
| author | Javier Martinez Canillas <[email protected]> | 2016-06-16 18:40:30 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2016-07-08 14:26:28 -0300 |
| commit | 4759bb4686609bdde859f36ed56fc914260e9a69 (patch) | |
| tree | 0ed3a89a192d833688b6d9786c8557e3b35923dc /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 6d2b7497320e7dcd0ca48f07eeccb1c5b4ff00a0 (diff) | |
[media] s5p-mfc: set capablity bus_info as required by VIDIOC_QUERYCAP
The driver doesn't set the struct v4l2_capability bus_info field so the
v4l2-compliance tool reports the following errors for VIDIOC_QUERYCAP:
Required ioctls:
VIDIOC_QUERYCAP returned 0 (Success)
fail: v4l2-compliance.cpp(304): string empty
fail: v4l2-compliance.cpp(528): check_ustring(vcap.bus_info, sizeof(vcap.bus_info))
test VIDIOC_QUERYCAP: FAIL
This patch fixes by setting the field in VIDIOC_QUERYCAP ioctl handler:
Required ioctls:
VIDIOC_QUERYCAP returned 0 (Success)
test VIDIOC_QUERYCAP: OK
Signed-off-by: Javier Martinez Canillas <[email protected]>
Acked-by: Hans Verkuil <[email protected]>
Signed-off-by: Kamil Debski <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions