[media] nuvoton-cir: improve buffer parsing responsiveness
authorJarod Wilson <jarod@redhat.com>
Tue, 9 Nov 2010 21:11:04 +0000 (18:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 20 Dec 2010 16:11:06 +0000 (14:11 -0200)
commitb7582815b3fc772e23ee5da884e9a2307bdc1025
tree98c3f769ec1eb65883801fa5d4c02d176afa1619
parent6f6c625d32852ab2fbfd131ba9a1e5d55ff8032c
[media] nuvoton-cir: improve buffer parsing responsiveness

Rather than waiting for trigger bits, the formula for which was slightly
messy, and apparently, not actually 100% complete for some remotes, just
call ir_raw_event_handle whenever we finish parsing a chunk of data from
the rx fifo, similar to mceusb, as well as whenever we see an 'end of
signal data' 0x80 packet.

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/nuvoton-cir.c