android_kernel_xiaomi_sdm845/drivers/media/video
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
..
au0828 V4L/DVB (10897): Fix Kbuild MEDIA_TUNER_CUSTOMIZE dependencies 2009-03-30 12:43:14 -03:00
bt8xx V4L/DVB (10944): Conceptronic CTVFMI2 PCI Id 2009-03-30 12:43:17 -03:00
cpia2 V4L/DVB (10907): avoid loading the entire videodev.h header on V4L2 drivers 2009-03-30 12:43:15 -03:00
cx18 V4L/DVB (10856): cx18: Add interlock so sliced VBI insertion only happens for an MPEG PS 2009-03-30 12:43:09 -03:00
cx88 V4L/DVB (10949): Add support for Terratec Cinergy HT PCI MKII 2009-03-30 12:43:18 -03:00
cx23885 V4L/DVB (10987): cx23885: fix crash on non-netup cards 2009-03-30 12:43:20 -03:00
cx25840 V4L/DVB (10698): v4l2-common: remove v4l2_ctrl_query_fill_std 2009-03-30 12:42:54 -03:00
em28xx V4L/DVB (10938): em28xx: Prevent general protection fault on rmmod 2009-03-30 12:43:17 -03:00
et61x251 V4L/DVB (10138): v4l2-ioctl: change to long return type to match unlocked_ioctl. 2009-01-02 17:11:34 -02:00
gspca V4L/DVB (10986): mr97310a: don't discard frame headers on stream output 2009-03-30 12:43:20 -03:00
ivtv V4L/DVB (10965): ivtv: bump version 2009-03-30 12:43:19 -03:00
ovcamchip V4L/DVB (10874): w9968cf/ovcamchip: convert to v4l2_subdev. 2009-03-30 12:43:11 -03:00
pvrusb2 V4L/DVB (10897): Fix Kbuild MEDIA_TUNER_CUSTOMIZE dependencies 2009-03-30 12:43:14 -03:00
pwc V4L/DVB (10945): pwc : fix LED and power setup for first open 2009-03-30 12:43:18 -03:00
saa7134 V4L/DVB (10926): saa7134: enable digital tv support for Hauppauge WinTV-HVR1120 2009-03-30 12:43:16 -03:00
sn9c102 V4L/DVB (10679): gspca - sonixj: Handle the webcam 0c45:613c instead of sn9c102. 2009-03-30 12:42:53 -03:00
usbvideo V4L/DVB (10185): Use negated usb_endpoint_xfer_control, etc 2009-01-07 22:18:56 -02:00
usbvision V4L/DVB (10818): usbvision: Don't need to zero ioctl parameter fields 2009-03-30 12:43:06 -03:00
uvc V4L/DVB (10652): uvcvideo: Add quirk to override wrong bandwidth value for Vimicro devices 2009-03-30 12:42:51 -03:00
zc0301 V4L/DVB (10343): gspca - zc3xx / zc0301: Handle the 0ac8:303b instead of zc0301. 2009-03-30 12:42:30 -03:00
zoran V4L/DVB (11022): zoran/bt819: use new notify functionality. 2009-03-30 12:43:21 -03:00
adv7170.c V4L/DVB (10914): v4l2: fix compile warnings when printing u64 value. 2009-03-30 12:43:15 -03:00
adv7175.c V4L/DVB (10914): v4l2: fix compile warnings when printing u64 value. 2009-03-30 12:43:15 -03:00
arv.c V4L/DVB (10138): v4l2-ioctl: change to long return type to match unlocked_ioctl. 2009-01-02 17:11:34 -02:00
bt819.c V4L/DVB (11022): zoran/bt819: use new notify functionality. 2009-03-30 12:43:21 -03:00
bt856.c V4L/DVB (10914): v4l2: fix compile warnings when printing u64 value. 2009-03-30 12:43:15 -03:00
bt866.c V4L/DVB (10914): v4l2: fix compile warnings when printing u64 value. 2009-03-30 12:43:15 -03:00
btcx-risc.c V4L/DVB (8745): v4l2: fix a bunch of compile warnings. 2008-10-12 09:36:52 -02:00
btcx-risc.h V4L/DVB (8757): v4l-dvb: fix a bunch of sparse warnings 2008-09-03 18:37:13 -03:00
bw-qcam.c V4L/DVB (10138): v4l2-ioctl: change to long return type to match unlocked_ioctl. 2009-01-02 17:11:34 -02:00
bw-qcam.h V4L/DVB (8780): v4l: replace the last uses of video_exclusive_open/release 2008-10-12 09:36:53 -02:00
c-qcam.c V4L/DVB (10138): v4l2-ioctl: change to long return type to match unlocked_ioctl. 2009-01-02 17:11:34 -02:00
cafe_ccic-regs.h
cafe_ccic.c i2c: Drop I2C_CLASS_CAM_DIGITAL 2009-01-07 14:29:17 +01:00
cpia_pp.c
cpia_usb.c
cpia.c V4L/DVB (10138): v4l2-ioctl: change to long return type to match unlocked_ioctl. 2009-01-02 17:11:34 -02:00
cpia.h V4L/DVB (8430): videodev: move some functions from v4l2-dev.h to v4l2-common.h or v4l2-ioctl.h 2008-07-23 19:00:17 -03:00
cs53l32a.c V4L/DVB (10409): v4l: remove unused I2C_DRIVERIDs. 2009-03-30 12:42:36 -03:00
cs5345.c V4L/DVB (10193): removed unused #include <version.h>'s 2009-01-29 08:35:36 -02:00
cs8420.h
cx2341x.c V4L/DVB (10698): v4l2-common: remove v4l2_ctrl_query_fill_std 2009-03-30 12:42:54 -03:00
dabusb.c V4L/DVB (10298): remove err macro from few usb devices 2009-03-30 12:42:26 -03:00
dabusb.h
font.h
hexium_gemini.c V4L/DVB (10271): saa7146: convert to video_ioctl2. 2009-03-30 12:42:24 -03:00
hexium_orion.c V4L/DVB (10271): saa7146: convert to video_ioctl2. 2009-03-30 12:42:24 -03:00
ibmmpeg2.h
indycam.c V4L/DVB (10866): saa7191, indycam: remove compat code. 2009-03-30 12:43:11 -03:00
indycam.h V4L/DVB (10861): vino/indycam/saa7191: convert to i2c modules to V4L2. 2009-03-30 12:43:10 -03:00
ir-kbd-i2c.c V4L/DVB (10939): ir-kbd-i2c: Prevent general protection fault on rmmod 2009-03-30 12:43:17 -03:00
Kconfig V4L/DVB (10867): vino: fold i2c-algo-sgi code into vino. 2009-03-30 12:43:11 -03:00
ks0127.c V4L/DVB (10914): v4l2: fix compile warnings when printing u64 value. 2009-03-30 12:43:15 -03:00
ks0127.h V4L/DVB (10730): v4l-dvb: cleanup obsolete references to v4l1 headers. 2009-03-30 12:42:59 -03:00
m52790.c V4L/DVB (10409): v4l: remove unused I2C_DRIVERIDs. 2009-03-30 12:42:36 -03:00
Makefile V4L/DVB (10909): tvmixer: remove last remaining references to this deleted module. 2009-03-30 12:43:15 -03:00
meye.c V4L/DVB (10820): meye: Don't need to zero ioctl parameter fields 2009-03-30 12:43:06 -03:00
meye.h V4L/DVB (8780): v4l: replace the last uses of video_exclusive_open/release 2008-10-12 09:36:53 -02:00
msp3400-driver.c V4L/DVB (10921): msp3400: remove obsolete V4L1 code 2009-03-30 12:43:16 -03:00
msp3400-driver.h V4L/DVB (9825): msp3400: convert to v4l2_subdev. 2008-12-30 09:38:39 -02:00
msp3400-kthreads.c V4L/DVB (9825): msp3400: convert to v4l2_subdev. 2008-12-30 09:38:39 -02:00
mt9m001.c V4L/DVB (11024): soc-camera: separate S_FMT and S_CROP operations 2009-03-30 12:43:21 -03:00
mt9m111.c V4L/DVB (11024): soc-camera: separate S_FMT and S_CROP operations 2009-03-30 12:43:21 -03:00
mt9t031.c V4L/DVB (11024): soc-camera: separate S_FMT and S_CROP operations 2009-03-30 12:43:21 -03:00
mt9v022.c V4L/DVB (11024): soc-camera: separate S_FMT and S_CROP operations 2009-03-30 12:43:21 -03:00
mx3_camera.c V4L/DVB (11024): soc-camera: separate S_FMT and S_CROP operations 2009-03-30 12:43:21 -03:00
mxb.c V4L/DVB (10870a): remove all references for video_decoder.h 2009-03-30 12:43:15 -03:00
mxb.h
omap24xxcam-dma.c V4L/DVB (9815): omap2: add OMAP2 camera driver. 2008-12-30 09:38:35 -02:00
omap24xxcam.c V4L/DVB (10960): omap24xxcam: don't set vfl_type. 2009-03-30 12:43:18 -03:00
omap24xxcam.h V4L/DVB (9815): omap2: add OMAP2 camera driver. 2008-12-30 09:38:35 -02:00
ov511.c V4L/DVB (10138): v4l2-ioctl: change to long return type to match unlocked_ioctl. 2009-01-02 17:11:34 -02:00
ov511.h V4L/DVB (9116): USB: remove info() macro from usb media drivers 2008-10-12 09:37:14 -02:00
ov772x.c V4L/DVB (11024): soc-camera: separate S_FMT and S_CROP operations 2009-03-30 12:43:21 -03:00
ov7670.c V4L/DVB (10907): avoid loading the entire videodev.h header on V4L2 drivers 2009-03-30 12:43:15 -03:00
pms.c V4L/DVB (10138): v4l2-ioctl: change to long return type to match unlocked_ioctl. 2009-01-02 17:11:34 -02:00
pxa_camera.c V4L/DVB (11024): soc-camera: separate S_FMT and S_CROP operations 2009-03-30 12:43:21 -03:00
s2255drv.c V4L/DVB (10309): s2255drv: use usb_make_path to report bus info 2009-03-30 12:42:27 -03:00
saa711x_regs.h
saa717x.c V4L/DVB (10409): v4l: remove unused I2C_DRIVERIDs. 2009-03-30 12:42:36 -03:00
saa5246a.c V4L/DVB (10499): saa7146: convert saa7146 and mxb in particular to v4l2_subdev. 2009-03-30 12:42:42 -03:00
saa5249.c V4L/DVB (10499): saa7146: convert saa7146 and mxb in particular to v4l2_subdev. 2009-03-30 12:42:42 -03:00
saa6588.c V4L/DVB (10940): saa6588: Prevent general protection fault on rmmod 2009-03-30 12:43:17 -03:00
saa7110.c V4L/DVB (10914): v4l2: fix compile warnings when printing u64 value. 2009-03-30 12:43:15 -03:00
saa7115.c V4L/DVB (10702): saa7115: add querystd and g_input_status support for zoran. 2009-03-30 12:42:54 -03:00
saa7121.h
saa7127.c V4L/DVB (10731): zoran i2c modules: remove i2c autoprobing support. 2009-03-30 12:42:59 -03:00
saa7146.h V4L/DVB (10907): avoid loading the entire videodev.h header on V4L2 drivers 2009-03-30 12:43:15 -03:00
saa7146reg.h
saa7185.c V4L/DVB (10731): zoran i2c modules: remove i2c autoprobing support. 2009-03-30 12:42:59 -03:00
saa7191.c V4L/DVB (10866): saa7191, indycam: remove compat code. 2009-03-30 12:43:11 -03:00
saa7191.h V4L/DVB (10861): vino/indycam/saa7191: convert to i2c modules to V4L2. 2009-03-30 12:43:10 -03:00
se401.c V4L/DVB (10138): v4l2-ioctl: change to long return type to match unlocked_ioctl. 2009-01-02 17:11:34 -02:00
se401.h V4L/DVB (8430): videodev: move some functions from v4l2-dev.h to v4l2-common.h or v4l2-ioctl.h 2008-07-23 19:00:17 -03:00
sh_mobile_ceu_camera.c V4L/DVB (11026): sh-mobile-ceu-camera: set field to the value, configured at open() 2009-03-30 12:43:21 -03:00
soc_camera_platform.c V4L/DVB (11024): soc-camera: separate S_FMT and S_CROP operations 2009-03-30 12:43:21 -03:00
soc_camera.c V4L/DVB (11027): soc-camera: configure drivers with a default format at probe time 2009-03-30 12:43:21 -03:00
stk-sensor.c
stk-webcam.c V4L/DVB (10817): stkwebcam: Don't need to zero ioctl parameter fields 2009-03-30 12:43:06 -03:00
stk-webcam.h V4L/DVB (9193): stk-webcam: minor cleanup 2008-10-17 17:14:57 -03:00
stradis.c V4L/DVB (10138): v4l2-ioctl: change to long return type to match unlocked_ioctl. 2009-01-02 17:11:34 -02:00
stv680.c V4L/DVB (10138): v4l2-ioctl: change to long return type to match unlocked_ioctl. 2009-01-02 17:11:34 -02:00
stv680.h
tcm825x.c V4L/DVB (10628): V4L: Storage class should be before const qualifier 2009-03-30 12:42:48 -03:00
tcm825x.h V4L/DVB (10628): V4L: Storage class should be before const qualifier 2009-03-30 12:42:48 -03:00
tda7432.c V4L/DVB (10698): v4l2-common: remove v4l2_ctrl_query_fill_std 2009-03-30 12:42:54 -03:00
tda9840.c V4L/DVB (10499): saa7146: convert saa7146 and mxb in particular to v4l2_subdev. 2009-03-30 12:42:42 -03:00
tda9875.c V4L/DVB (10698): v4l2-common: remove v4l2_ctrl_query_fill_std 2009-03-30 12:42:54 -03:00
tea6415c.c V4L/DVB (10499): saa7146: convert saa7146 and mxb in particular to v4l2_subdev. 2009-03-30 12:42:42 -03:00
tea6415c.h V4L/DVB (10499): saa7146: convert saa7146 and mxb in particular to v4l2_subdev. 2009-03-30 12:42:42 -03:00
tea6420.c V4L/DVB (10499): saa7146: convert saa7146 and mxb in particular to v4l2_subdev. 2009-03-30 12:42:42 -03:00
tea6420.h V4L/DVB (10499): saa7146: convert saa7146 and mxb in particular to v4l2_subdev. 2009-03-30 12:42:42 -03:00
tlv320aic23b.c V4L/DVB (10919): tlv320aic23b: use v4l2-i2c-drv.h instead of drv-legacy.h 2009-03-30 12:43:15 -03:00
tuner-core.c V4L/DVB (10138): v4l2-ioctl: change to long return type to match unlocked_ioctl. 2009-01-02 17:11:34 -02:00
tvaudio.c V4L/DVB (10730): v4l-dvb: cleanup obsolete references to v4l1 headers. 2009-03-30 12:42:59 -03:00
tveeprom.c V4L/DVB (10416): tveeprom: update to include Hauppauge tuners 151-155 2009-03-30 12:42:36 -03:00
tvp514x_regs.h V4L/DVB (9817): v4l: add new tvp514x I2C video decoder driver 2008-12-30 09:38:36 -02:00
tvp514x.c V4L/DVB (10698): v4l2-common: remove v4l2_ctrl_query_fill_std 2009-03-30 12:42:54 -03:00
tvp5150_reg.h
tvp5150.c V4L/DVB (10738): Get rid of video_decoder.h header were uneeded 2009-03-30 12:42:59 -03:00
tw9910.c V4L/DVB (11024): soc-camera: separate S_FMT and S_CROP operations 2009-03-30 12:43:21 -03:00
upd64031a.c V4L/DVB (10409): v4l: remove unused I2C_DRIVERIDs. 2009-03-30 12:42:36 -03:00
upd64083.c V4L/DVB (10409): v4l: remove unused I2C_DRIVERIDs. 2009-03-30 12:42:36 -03:00
v4l1-compat.c poll: allow f_op->poll to sleep 2009-01-06 15:59:12 -08:00
v4l2-common.c V4L/DVB (10983): v4l2-common: add missing i2c_unregister_device. 2009-03-30 12:43:20 -03:00
v4l2-compat-ioctl32.c V4L/DVB (10910): videodev2.h: remove deprecated VIDIOC_G_CHIP_IDENT_OLD 2009-03-30 12:43:15 -03:00
v4l2-dev.c V4L/DVB (10988): v4l2-dev: use parent field if the v4l2_device has no parent set. 2009-03-30 12:43:20 -03:00
v4l2-device.c V4L/DVB (10644): v4l2-subdev: rename dev field to v4l2_dev 2009-03-30 12:42:50 -03:00
v4l2-int-device.c V4L/DVB (9322): v4l2-int-if: Export more interfaces to modules 2008-10-21 14:31:20 -02:00
v4l2-ioctl.c V4L/DVB (10920): v4l2-ioctl: fix partial-copy code. 2009-03-30 12:43:16 -03:00
v4l2-subdev.c V4L/DVB (10542): v4l2-subdev: add querystd and g_input_status 2009-03-30 12:42:46 -03:00
videobuf-core.c PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures 2008-07-24 10:47:21 -07:00
videobuf-dma-contig.c V4L/DVB (10304): buf-dma-contig: fix USERPTR free handling 2009-03-30 12:42:27 -03:00
videobuf-dma-sg.c V4L/DVB (10176a): Switch remaining clear_user_page users over to clear_user_highpage 2009-01-07 22:18:54 -02:00
videobuf-dvb.c V4L/DVB (9335): videobuf: split unregister bus creating self-contained frontend de-allocator 2008-10-21 14:32:08 -02:00
videobuf-vmalloc.c V4L/DVB (10305): videobuf-vmalloc: Fix: videobuf memory were never freed 2009-03-30 12:42:27 -03:00
vino.c V4L/DVB (10868): vino: add note that this conversion is untested. 2009-03-30 12:43:11 -03:00
vino.h
vivi.c V4L/DVB (10912): vivi: fix compile warning. 2009-03-30 12:43:15 -03:00
vp27smpx.c V4L/DVB (10409): v4l: remove unused I2C_DRIVERIDs. 2009-03-30 12:42:36 -03:00
vpx3220.c V4L/DVB (10914): v4l2: fix compile warnings when printing u64 value. 2009-03-30 12:43:15 -03:00
w9966.c V4L/DVB (10907): avoid loading the entire videodev.h header on V4L2 drivers 2009-03-30 12:43:15 -03:00
w9968cf_decoder.h
w9968cf_vpp.h
w9968cf.c V4L/DVB (10907): avoid loading the entire videodev.h header on V4L2 drivers 2009-03-30 12:43:15 -03:00
w9968cf.h V4L/DVB (10874): w9968cf/ovcamchip: convert to v4l2_subdev. 2009-03-30 12:43:11 -03:00
wm8739.c V4L/DVB (10409): v4l: remove unused I2C_DRIVERIDs. 2009-03-30 12:42:36 -03:00
wm8775.c V4L/DVB (10141): v4l2: debugging API changed to match against driver name instead of ID. 2009-01-02 17:11:52 -02:00
zr364xx.c V4L/DVB (10263): zr364xx: add support for Aiptek DV T300 2009-03-30 12:42:23 -03:00