mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-07-09 02:06:28 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user