From 91cb774f78526bb8cfb8cc207b48df6ca0fc10ca Mon Sep 17 00:00:00 2001 From: Liu Ying Date: Tue, 4 Jan 2011 15:35:57 +0800 Subject: [PATCH] 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 (cherry picked from commit 29a459e692e4dde9f3dee64aba176a357dfd0062) --- drivers/media/video/mxc/capture/ipu_prp_vf_sdc.c | 4 +--- 1 file changed, 1 insertion(+), 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 882bacf923b..65f82b2948c 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. */ /* @@ -316,8 +316,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);