[media] fintek-cir: make suspend with active IR more reliable
authorJarod Wilson <jarod@redhat.com>
Fri, 27 May 2011 20:14:51 +0000 (17:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 11 Jun 2011 12:03:35 +0000 (09:03 -0300)
There was a missing lock in fintek_suspend. Without the lock, its
possible the system will be in the middle of receiving IR (draining the
RX buffer) when we try to disable CIR interrupts.

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found