]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
[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)
commit0ae90252d0b28265bc16cf272e72d62281f7baf1
treeee2490b1c6299365a53782700cbd8b441f067a02
parent8de111e27688798623b9e9062235bb0cac29f599
[media] fintek-cir: make suspend with active IR more reliable

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>
drivers/media/rc/fintek-cir.c