]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00224513 V4L2 output: Avoid fb blank/unblank when open/close video device
authorWayne Zou <b36644@freescale.com>
Mon, 17 Sep 2012 07:48:15 +0000 (15:48 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:25 +0000 (08:35 +0200)
Initialize release variable to avoid fb blank/unblank
when open/close video device only.

Signed-off-by: Wayne Zou <b36644@freescale.com>
drivers/media/video/mxc/output/mxc_vout.c

index 366d27a92286d07b63e8012f2f195b3e83d0c7b3..367cc5f9acc32a655147f217d0a3977596676da9 100644 (file)
@@ -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;