diff options
author | Sergio Aguirre <saaguirre@ti.com> | 2011-04-11 18:14:33 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-05-04 21:47:56 +0200 |
commit | dca6b6d18fa4428c4539e45f7a43040e388ab99e (patch) | |
tree | 60023ee7652741d1706c1cec7cc336ac9bc19eb1 /arch/arm/mach-s3c2400 | |
parent | [media] v4l2-subdev: fix broken subdev control enumeration (diff) | |
download | linux-dca6b6d18fa4428c4539e45f7a43040e388ab99e.tar.xz linux-dca6b6d18fa4428c4539e45f7a43040e388ab99e.zip |
[media] V4L: soc-camera: regression fix: calculate .sizeimage in soc_camera.c
A recent patch has given individual soc-camera host drivers a possibility
to calculate .sizeimage and .bytesperline pixel format fields internally,
however, some drivers relied on the core calculating these values for
them, following a default algorithm. This patch restores the default
calculation for such drivers.
Based on initial patch by Guennadi Liakhovetski, found here:
http://www.spinics.net/lists/linux-media/msg31282.html
Except that this covers try_fmt aswell.
Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'arch/arm/mach-s3c2400')
0 files changed, 0 insertions, 0 deletions