v4l: soc-camera: Store negotiated buffer settings
authorSergio Aguirre <saaguirre@ti.com>
Tue, 8 Mar 2011 00:26:43 +0000 (18:26 -0600)
committerSergio Aguirre <sergio.a.aguirre@gmail.com>
Fri, 13 Jul 2012 04:42:59 +0000 (23:42 -0500)
commitd596b3a53d4af0ef0da70ee293fa3bbf57f2005f
tree8c2b4e75dcacd6be8df86a500e9b5ce4daf03ab3
parenta817a6c20d7a4a6c00b6443edb292b4c5c427c86
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>
drivers/media/video/soc_camera.c
include/media/soc_camera.h