android_kernel_xiaomi_sm8350/drivers/media
Guennadi Liakhovetski 025c18a19d 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>
2009-03-30 12:43:21 -03:00
..
common V4L/DVB (10951): xc5000: Fix CodingStyle errors introduced by the last patch 2009-03-30 12:43:18 -03:00
dvb V4L/DVB (10984): lgdt3305: avoid OOPS in error path of lgdt3305_attach 2009-03-30 12:43:20 -03:00
radio V4L/DVB (10961): radio-terratec: remove linux/delay.h which hadn't been used. 2009-03-30 12:43:19 -03:00
video V4L/DVB (11027): soc-camera: configure drivers with a default format at probe time 2009-03-30 12:43:21 -03:00
Kconfig V4L/DVB (10633): DAB: fix typo 2009-03-30 12:42:49 -03:00
Makefile