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>
(cherry picked from commit 29a459e692e4dde9f3dee64aba176a357dfd0062)
This commit is contained in:
Liu Ying
2011-01-04 15:35:57 +08:00
committed by Matt Sealey
parent 8101a2a15d
commit 91cb774f78

View File

@@ -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);