summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorLiu Ying <b17645@freescale.com>2011-01-04 15:35:57 +0800
committerAndy Voltz <andy.voltz@timesys.com>2011-06-01 13:20:19 -0400
commit9e81cd194f78696405b260d3f693ae850fd89bba (patch)
treeda56eaab4fbad1c1ab75b43a7dec242f378f8d3e /drivers/media
parent681ae4eeb9d59f4edf28e55dfd356e1160fcfa41 (diff)
ENGR00137559 MXC V4L2 overlay:Don't clear FG position after preview
The FG window will go to the left-top corner of the display panel after preview. So, remove the code to clear FG position when we stop preview. Signed-off-by: Liu Ying <b17645@freescale.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/mxc/capture/ipu_prp_vf_sdc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/video/mxc/capture/ipu_prp_vf_sdc.c b/drivers/media/video/mxc/capture/ipu_prp_vf_sdc.c
index c70dd07dbd5d..893c82d2c3c9 100644
--- a/drivers/media/video/mxc/capture/ipu_prp_vf_sdc.c
+++ b/drivers/media/video/mxc/capture/ipu_prp_vf_sdc.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2004-2010 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright 2004-2011 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
@@ -324,8 +324,6 @@ static int prpvf_stop(void *private)
return -EPERM;
}
- ipu_disp_set_window_pos(MEM_FG_SYNC, 0, 0);
-
if (cam->vf_rotation >= IPU_ROTATE_VERT_FLIP) {
ipu_unlink_channels(CSI_PRP_VF_MEM, MEM_ROT_VF_MEM);
ipu_unlink_channels(MEM_ROT_VF_MEM, MEM_FG_SYNC);