[media] davinci: vpif: add check for genuine interrupts in the isr
authorManjunath Hadli <manjunath.hadli@ti.com>
Fri, 13 Apr 2012 07:43:10 +0000 (04:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Jul 2012 21:59:50 +0000 (18:59 -0300)
commitb1fc42302b75bb9c4940317e3bf2f1e2efdb3a1a
tree934aef5be42746a192fa403d66324b4ec3b3f01d
parent4099040eaaa4fe543c4e915b8cab51b1d843edee
[media] davinci: vpif: add check for genuine interrupts in the isr

As the same interrupt is shared between capture and display devices,
sometimes we get isr calls where the interrupt might not genuinely belong
to capture or display. Hence, add a condition in the isr to check for
interrupt ownership and channel number to make sure we do not
service wrong interrupts.

Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/davinci/vpif.h
drivers/media/video/davinci/vpif_capture.c
drivers/media/video/davinci/vpif_display.c
This page took 0.032696 seconds and 5 git commands to generate.