summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tda9875.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-11-05 00:34:23 +0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-11-05 00:34:23 +0200
commit81a04a87e3f14c489d50e505d148145397364b4a (patch)
tree9b6ecc49ba830a5e4fadc19a313920c3e2543ada /linux/drivers/media/video/tda9875.c
parent8106c036a919ae34375e102150dceda249895549 (diff)
downloadmediapointer-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/tda9875.c')
0 files changed, 0 insertions, 0 deletions