From: Wayne Zou Date: Mon, 17 Sep 2012 07:48:15 +0000 (+0800) Subject: ENGR00224513 V4L2 output: Avoid fb blank/unblank when open/close video device X-Git-Tag: v3.0.35-fsl~461 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c1496dc06e20ff3db9fb26dbea10fcb57e80c553;p=karo-tx-linux.git 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 --- 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;