Skip to content

Commit

Permalink
[media] rcar_vin: Fix interrupt enable in progressive
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Koji Matsuoka authored and Mauro Carvalho Chehab committed Dec 12, 2014
1 parent 609f33c commit e272d95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/platform/soc_camera/rcar_vin.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e272d95

Please sign in to comment.