[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)
commite5eda7faea23c28836f17487962c6539fd3b3e27
treea4c71a7a82393f548ae6c51f524d5b1660dbd937
parent293d31ed32e491fa8124f8faf3ab6c9bbc425234
[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