diff options
author | Sergio Aguirre <saaguirre@ti.com> | 2011-04-11 13:14:33 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-05-04 16:47:56 -0300 |
commit | dca6b6d18fa4428c4539e45f7a43040e388ab99e (patch) | |
tree | 60023ee7652741d1706c1cec7cc336ac9bc19eb1 /drivers/block/paride/fit2.c | |
parent | 0b84834a5a9f5fe8f3760560ef8c5b1536d22bd1 (diff) |
[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 'drivers/block/paride/fit2.c')
0 files changed, 0 insertions, 0 deletions