Re: [PATCH] soc-camera: fix device capabilities in multiple camera host drivers

2015-01-20 Thread Geert Uytterhoeven
Hi Guennadi, On Mon, Jan 19, 2015 at 11:19 PM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: 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

[PATCH] soc-camera: fix device capabilities in multiple camera host drivers

2015-01-19 Thread Guennadi Liakhovetski
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 several soc-camera