[media] V4L: soc-camera: add selection API host operations
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 22 Jun 2012 16:40:08 +0000 (13:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 15 Aug 2012 20:37:39 +0000 (17:37 -0300)
commit3bfb41001da5740b1c65ff537dfbff5904a4915d
tree96eccfdd9ea9718610d4e1f61ca16c02da9be25c
parent1cb7cf28c0690852cfe5800e037fa0db9fba2432
[media] V4L: soc-camera: add selection API host operations

Add .get_selection() and .set_selection() soc-camera host driver
operations. Additionally check, that the user is not trying to change the
output sizes during a running capture.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/soc_camera.c
include/media/soc_camera.h