]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (11025): soc-camera: configure drivers with a default format on open
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 13 Mar 2009 09:08:20 +0000 (06:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:21 +0000 (12:43 -0300)
commitdf2ed07025fc83f3b36470cf06d1816a5e07c90b
treeed1a71cdbc1d3c17c189cab370573695c06fdd87
parent09e231b35173313cd92e27532e5028f2042dcee4
V4L/DVB (11025): soc-camera: configure drivers with a default format on open

Currently soc-camera doesn't set up any image format without an explicit S_FMT.
It seems this should be supported, since, for example, capture-example.c from
v4l2-apps by default doesn't issue an S_FMT. This patch configures a default
image format on open().

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/soc_camera.c