From: Maxim Levitsky Date: Sun, 4 Nov 2007 22:34:23 +0000 (-0300) Subject: V4L/DVB (6668): Fix theoretical races between IRQ handler and .suspend/resume X-Git-Tag: v2.6.25-rc1~1235^2~305 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3203cb86d22c63504f8368151029bf9dad014ddb;p=pandora-kernel.git V4L/DVB (6668): Fix theoretical races between IRQ handler and .suspend/resume *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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed