From c1496dc06e20ff3db9fb26dbea10fcb57e80c553 Mon Sep 17 00:00:00 2001 From: Wayne Zou Date: Mon, 17 Sep 2012 15:48:15 +0800 Subject: [PATCH] ENGR00224513 V4L2 output: Avoid fb blank/unblank when open/close video device Initialize release variable to avoid fb blank/unblank when open/close video device only. Signed-off-by: Wayne Zou --- drivers/media/video/mxc/output/mxc_vout.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/video/mxc/output/mxc_vout.c b/drivers/media/video/mxc/output/mxc_vout.c index 366d27a92286..367cc5f9acc3 100644 --- a/drivers/media/video/mxc/output/mxc_vout.c +++ b/drivers/media/video/mxc/output/mxc_vout.c @@ -861,6 +861,7 @@ static int mxc_vout_open(struct file *file) vout->win_pos.x = 0; vout->win_pos.y = 0; + vout->release = true; } file->private_data = vout; -- 2.39.5