[media] v4l2-subdev: add support for the new enum_frame_interval 'which' field
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 4 Mar 2015 09:48:00 +0000 (01:48 -0800)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 23 Mar 2015 19:01:15 +0000 (12:01 -0700)
commit17bef885249db5db921ac8cf6e23938a91a6cd7b
tree23f58ecb46904cc3fbe4f5f4fbbe53a6dc4c9735
parentd3e4bd8e10cd70d35a59854dcdcd7280c5ed240c
[media] v4l2-subdev: add support for the new enum_frame_interval 'which' field

Support the new 'which' field in the enum_frame_interval ops. Most drivers do not
need to be changed since they always returns the same enumeration regardless
of the 'which' field.

Tested for ov7670 and marvell-ccic on a OLPC XO-1 laptop.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/ov7670.c
drivers/media/platform/marvell-ccic/mcam-core.c
drivers/media/platform/soc_camera/soc_camera.c
drivers/media/platform/via-camera.c