From: Hans Verkuil Date: Mon, 19 Jan 2015 09:23:26 +0000 (-0300) Subject: [media] pvrusb2: fix missing device_caps in querycap X-Git-Tag: fixes-v4.0-rc1~253^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42639f6de69433cd531c79390fd8eccf311ed44e;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed