summaryrefslogtreecommitdiffstats
path: root/arch/m32r
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2009-03-13 06:08:20 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 12:43:21 -0300
commit025c18a19d7d7eb8745d25986f982a5f35a85157 (patch)
treeeeca0bd36addeddf1a123f9af26d132a2c94979c /arch/m32r
parente802967c7079d2b4cfbd107dc90812605dbcad5a (diff)
downloadlinux-025c18a19d7d7eb8745d25986f982a5f35a85157.tar.gz
linux-025c18a19d7d7eb8745d25986f982a5f35a85157.tar.bz2
linux-025c18a19d7d7eb8745d25986f982a5f35a85157.zip
V4L/DVB (11027): soc-camera: configure drivers with a default format at probe time
Currently soc-camera doesn't set up any image format without an explicit S_FMT. According to the API this should be supported, for example, capture-example.c from v4l2-apps by default doesn't issue an S_FMT. This patch moves negotiating of available host-camera format translations to probe() time, and restores the state from the last close() on the next open(). This is needed for some drivers, which power down or reset hardware after the last user closes the interface. This patch also has a nice side-effect of avoiding multiple allocation anf freeing of format translation tables. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'arch/m32r')
0 files changed, 0 insertions, 0 deletions