]> git.baikalelectronics.ru Git - kernel.git/commit
[media] winbond-cir: fix idle mode
authorSean Young <sean@mess.org>
Wed, 24 Oct 2012 20:22:40 +0000 (17:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 21 Nov 2012 19:03:30 +0000 (17:03 -0200)
commit910daf1cc505ca7dc354ec5dd3c371eb535d37d2
treea4c71a7a82393f548ae6c51f524d5b1660dbd937
parent202b4512400cb6bc565a4ec9ab18e74c67155303
[media] winbond-cir: fix idle mode

The receiver is never disabled by idle mode since rxstate never gets set
to RXSTATE_ACTIVE, so we keep on getting interrupts after the first IR
activity ends. Note that ir_raw_event_reset() already calls
ir_raw_event_handle().

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/winbond-cir.c