[media] v4l: soc-camera: Store negotiated buffer settings
authorSergio Aguirre <saaguirre@ti.com>
Tue, 8 Mar 2011 00:49:48 +0000 (21:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 22 Mar 2011 22:41:55 +0000 (19:41 -0300)
commit0e4c180d3e2cc11e248f29d4c604b6194739d05a
treecb505788e38273b39a190fdd7080ea8e9c1e2af5
parent4be22b6a7f2f2b7eb6f7aab8902068a367cda8ba
[media] v4l: soc-camera: Store negotiated buffer settings

This fixes the problem in which a host driver
sets a personalized sizeimage or bytesperline field,
and gets ignored when doing G_FMT.

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>
drivers/media/video/soc_camera.c
include/media/soc_camera.h