diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-11-05 00:34:23 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-11-05 00:34:23 +0200 |
commit | 81a04a87e3f14c489d50e505d148145397364b4a (patch) | |
tree | 9b6ecc49ba830a5e4fadc19a313920c3e2543ada /linux/drivers/media/video/saa7115.c | |
parent | 8106c036a919ae34375e102150dceda249895549 (diff) | |
download | mediapointer-dvb-s2-81a04a87e3f14c489d50e505d148145397364b4a.tar.gz mediapointer-dvb-s2-81a04a87e3f14c489d50e505d148145397364b4a.tar.bz2 |
Fix theoretical races between IRQ handler and .suspend/resume
From: Maxim Levitsky <maximlevitsky@gmail.com>
*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>
Diffstat (limited to 'linux/drivers/media/video/saa7115.c')
0 files changed, 0 insertions, 0 deletions