commit | 42639f6de69433cd531c79390fd8eccf311ed44e | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Mon Jan 19 06:23:26 2015 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Wed Jan 21 21:08:03 2015 -0200 |
tree | 4d9189e1c961f4f8b08730b7f421172ccac441af | |
parent | 6cf11ee6300f38b7cfc43af9b7be2afaa5e05869 [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 <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>