V4L/DVB: soc-camera: prohibit S_CROP, if internal G_CROP has failed
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 5 Aug 2010 22:23:44 +0000 (19:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 9 Aug 2010 02:43:02 +0000 (23:43 -0300)
commit103754a0526fe35bddbcd8ccc913495c2a66ac21
tree027bc6f68e52a7c0e68ad99ae39be0ca255821dd
parenta484dd9b77fbbda2a79bf1b371c6d31f90e15504
V4L/DVB: soc-camera: prohibit S_CROP, if internal G_CROP has failed

There is no sense in trying to set cropping if we cannot get current one
from the host driver.

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