[media] soc_camera: disable STD ioctls if no tvnorms are set
commitf6cc51a9f428cfaacc733e9b97a0a1adbc198358
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 17 Feb 2014 11:44:14 +0000 (17 08:44 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 13 May 2014 22:56:09 +0000 (13 19:56 -0300)
tree42b2d6aef701579a355d4f35f3b5e97cef9f9457
parentdc5730f5aabd05984f7d8bc72698a6d8a0e8bee3
[media] soc_camera: disable STD ioctls if no tvnorms are set

If the sub-device did not report any tvnorms, then disable the STD
ioctls.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/soc_camera/soc_camera.c