[media] soc_camera: Use soc_camera_device::bytesperline to compute line sizes
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 21 Mar 2012 11:03:22 +0000 (08:03 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 15 May 2012 19:09:02 +0000 (16:09 -0300)
commit1c0f95eec6d6c4cedfbead8eade7d879534da651
tree9309f6aa3ba753556ad8d5e4050bed757b99eba8
parent2b61d46e2c44568886bc099f8085aefc7107e372
[media] soc_camera: Use soc_camera_device::bytesperline to compute line sizes

Instead of computing the line sizes, use the previously negotiated
soc_camera_device::bytesperline value.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mx3_camera.c
drivers/media/video/sh_mobile_ceu_camera.c