V4L/DVB (6668): Fix theoretical races between IRQ handler and .suspend/resume
authorMaxim Levitsky <maximlevitsky@gmail.com>
Sun, 4 Nov 2007 22:34:23 +0000 (19:34 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:02:44 +0000 (19:02 -0200)
*dev->insuspend = 1 should be set before synchronize_irq
 *ACK interrupts after synchronize_irq, to make sure there aren't
 pending interrupts.
 *Add barrier before we restart interrupts so the handler will 100%
 see the dev->insuspend

Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

No differences found