]> git.baikalelectronics.ru Git - kernel.git/commit
[media] rcar_vin: Update device_caps and capabilities in querycap
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Wed, 14 Jan 2015 00:55:02 +0000 (21:55 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 21 Jan 2015 23:05:58 +0000 (21:05 -0200)
commit4efd91fe29073eb07c7c808d08429e7f747d4112
treeed097f2a86e7e36499169e062ab86a6bf84d0fa2
parentcba1451cfa893fcb880f9ec0542836b29f20514b
[media] rcar_vin: Update device_caps and capabilities in querycap

The V4L2 API requires both .capabilities and .device_caps fields of
struct v4l2_capability to be set. Otherwise the compliance checker
complains and since commit "v4l2-ioctl: WARN_ON if querycap didn't fill
device_caps" a compile-time warning is issued. Fix this non-compliance
in the rcar_vin driver.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/soc_camera/rcar_vin.c