[media] V4L2: sh_mobile_ceu_camera: remove CEU specific data from generic functions
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 24 Apr 2013 14:15:30 +0000 (11:15 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 28 Jun 2013 18:01:58 +0000 (15:01 -0300)
commiteca430c83d3b63df52024d114b7641bd03482f38
tree83f2085b60ff0b7c2d09961a78e7bfbfea223d63
parentc67f1a300a72a67c1fa71cada8380bbe8412d046
[media] V4L2: sh_mobile_ceu_camera: remove CEU specific data from generic functions

Several functions in the sh_mobile_ceu_camera driver implement generic
algorithms and can be re-used by other V4L2 camera host drivers too. These
functions attempt to optimise scaling and cropping functions of the
subdevice, e.g. a camera sensor. This patch makes those functions generic
for future re-use by other camera host drivers.

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