commit | 3203cb86d22c63504f8368151029bf9dad014ddb | [log] [tgz] |
---|---|---|
author | Maxim Levitsky <maximlevitsky@gmail.com> | Sun Nov 04 19:34:23 2007 -0300 |
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | Fri Jan 25 19:02:44 2008 -0200 |
tree | c8bc84fcfb3f0b3b5d001f40b2d4a046e87de2e3 | |
parent | 0d65cd4f2bfe70872e4218d9d35d37a7000d6739 [diff] |
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 <maximlevitsky@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>