]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00174395 V4L2 capture: Driver improvement
authorLiu Ying <Ying.Liu@freescale.com>
Mon, 13 Feb 2012 09:45:17 +0000 (17:45 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:01 +0000 (08:34 +0200)
commit98e2b198ba6fcc36e251a683b76472c1c8b3248a
tree588c16176ce6efb872d6e209134fa82c497b7b07
parent8bcebd34f970eeb7573b1b102aef3cd3e52d013d
ENGR00174395 V4L2 capture: Driver improvement

1) CSI module should be disabled first for CSI_MEM channel,
otherwise, the capture channels will hang after restarting
for several times.
2) Disable CSI module correctly for overlay. Move stopping
preview channel operation out of de-select interface.
3) Check cam->overlay_on is true in close function before
stopping preview.
4) Check cam->vf_start_sdc function before calling it.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
drivers/media/video/mxc/capture/ipu_prp_vf_sdc.c
drivers/media/video/mxc/capture/ipu_prp_vf_sdc_bg.c
drivers/media/video/mxc/capture/mxc_v4l2_capture.c