summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorLiu Ying <b17645@freescale.com>2011-01-04 15:35:57 +0800
committerLiu Ying <b17645@freescale.com>2011-01-04 15:37:07 +0800
commit29a459e692e4dde9f3dee64aba176a357dfd0062 (patch)
treecc05514daeca7c060fabbcca796b4f5c043a888e /drivers/media
parent39988cb39d110ebcd883667c6e06f97bb8db77db (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);