summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Zou <b36644@freescale.com>2012-09-17 15:48:15 +0800
committerWayne Zou <b36644@freescale.com>2012-09-19 09:14:43 +0800
commit59589328dd67479ec7019ac394d8c4b84787d5ac (patch)
tree75bfa514fc4289bfc22494e6af38105182ff0b34
parentdf1d0f8bdb2c4c0bc1047e5cdccf928f0624987c (diff)
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 <b36644@freescale.com>
-rw-r--r--drivers/media/video/mxc/output/mxc_vout.c1
1 files changed, 1 insertions, 0 deletions
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;