diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2015-01-18 16:30:11 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-01-21 21:05:45 -0200 |
commit | 7d96c3e446b4a786a6a4a7733deb9d1634a9ad4d (patch) | |
tree | 0dff5e3fa8c804723decb7bbf68d804c032e2735 /drivers/media/usb/tm6000 | |
parent | d0bb12c9f4811b8a8c0a87ac1b5fbab19861e7e0 (diff) | |
download | talos-obmc-linux-7d96c3e446b4a786a6a4a7733deb9d1634a9ad4d.tar.gz talos-obmc-linux-7d96c3e446b4a786a6a4a7733deb9d1634a9ad4d.zip |
[media] soc-camera: fix device capabilities in multiple camera host drivers
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 camera host drivers.
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/tm6000')
0 files changed, 0 insertions, 0 deletions