V4L/DVB: ir-rc5-decoder: fix state machine
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 6 Apr 2010 05:29:42 +0000 (02:29 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:57:00 +0000 (12:57 -0300)
commit9b09df51b8c2b4615376e5ada3e2eb7eeed3cf5d
tree63eb4aa851e522f0ab21790bbe5f43f51b133d27
parent7f20d32d446097789ade5ada6b645742ddac4ece
V4L/DVB: ir-rc5-decoder: fix state machine

Reimplement the RC-5 decoder state machine. Code is now clear, and works
properly. It is also simpler than the previous implementations.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/ir-rc5-decoder.c