linux-sg2042/drivers/media/platform/soc_camera
Guennadi Liakhovetski cea4c9e46c [media] media: soc-camera: remove superfluous JPEG checking
Explicit checks for the JPEG pixel format in soc_mbus_bytes_per_line() and
soc_mbus_image_size() are superfluous, because also without them these
functions will perform correctly. The former will return 0 based on
packing == SOC_MBUS_PACKING_VARIABLE and the latter will simply multiply
the user-provided line length by the image height to obtain a frame buffer
size estimate. The original version of the "media: soc_camera: don't clear
pix->sizeimage in JPEG mode" patch was correct and my amendment, adding
these two checks was superfluous.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-12-20 14:26:40 -02:00
..
Kconfig [media] media: mx1_camera: mark the driver BROKEN 2012-11-22 11:26:19 -02:00
Makefile [media] move soc_camera to its own directory 2012-08-21 07:49:12 -03:00
atmel-isi.c [media] move soc_camera to its own directory 2012-08-21 07:49:12 -03:00
mx1_camera.c [media] media: mx1_camera: use the default .set_crop() implementation 2012-11-22 10:45:41 -02:00
mx2_camera.c [media] mx2_camera: use GFP_ATOMIC under spin lock 2012-12-04 15:03:59 -02:00
mx3_camera.c [media] media: mx3_camera: fix const cropping related warnings 2012-11-22 10:44:56 -02:00
omap1_camera.c [media] media: omap1_camera: fix const cropping related warnings 2012-11-22 10:45:59 -02:00
pxa_camera.c [media] media: pxa_camera: fix const cropping related warnings 2012-11-22 10:44:35 -02:00
sh_mobile_ceu_camera.c [media] media: sh-mobile-ceu-camera: runtime PM suspending doesn't have to be synchronous 2012-12-20 14:24:17 -02:00
sh_mobile_csi2.c [media] move soc_camera to its own directory 2012-08-21 07:49:12 -03:00
soc_camera.c [media] media: soc-camera: use managed devm_regulator_bulk_get() 2012-12-20 14:23:57 -02:00
soc_camera_platform.c [media] move soc_camera to its own directory 2012-08-21 07:49:12 -03:00
soc_mediabus.c [media] media: soc-camera: remove superfluous JPEG checking 2012-12-20 14:26:40 -02:00