aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2015-01-19 06:23:26 -0300
committerMauro Carvalho Chehab <[email protected]>2015-01-21 21:08:03 -0200
commit42639f6de69433cd531c79390fd8eccf311ed44e (patch)
tree4d9189e1c961f4f8b08730b7f421172ccac441af /lib/mpi/mpiutil.c
parent6cf11ee6300f38b7cfc43af9b7be2afaa5e05869 (diff)
[media] pvrusb2: fix missing device_caps in querycap
The VIDIOC_QUERYCAP function should set device_caps, but this was missing. In addition, it set the version field as well, but that should be done by the core, not by the driver. If a driver doesn't set device_caps the v4l2 core will issue a WARN_ON, so it's important that this is set correctly. Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions