[media] rcar_vin: Fix interrupt enable in progressive
authorKoji Matsuoka <koji.matsuoka.xm@renesas.com>
Fri, 31 Oct 2014 09:09:25 +0000 (06:09 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 12 Dec 2014 12:29:40 +0000 (10:29 -0200)
The progressive input is captured by the field interrupt.
Therefore the end of frame interrupt is unnecessary.

Signed-off-by: Koji Matsuoka <koji.matsuoka.xm@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/soc_camera/rcar_vin.c

index 1b1d5bc16afe43c9e46074112d41041f6982cfe4..44461c5552aad5c88e9486fe57dbf820aaa331f8 100644 (file)
@@ -678,7 +678,7 @@ static int rcar_vin_setup(struct rcar_vin_priv *priv)
                vnmc |= VNMC_BPS;
 
        /* progressive or interlaced mode */
-       interrupts = progressive ? VNIE_FIE | VNIE_EFE : VNIE_EFE;
+       interrupts = progressive ? VNIE_FIE : VNIE_EFE;
 
        /* ack interrupts */
        iowrite32(interrupts, priv->base + VNINTS_REG);