]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
[media] ir-rc6-decoder: Support RC6-6A variable length data
authorlawrence rust <lawrence@softsystem.co.uk>
Mon, 31 Oct 2011 11:39:32 +0000 (08:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 24 Nov 2011 00:23:15 +0000 (22:23 -0200)
commitdb9bc660cf4d1a09565f5db2bab9d3b86e3e32a5
treef14fea3ad632f63a541821b663f0277241dcba8a
parent12cbfd0a3c52a52c2948c91b9e62e73c468d1572
[media] ir-rc6-decoder: Support RC6-6A variable length data

This patch to the IR RC6 decoder adds support for variable length
mode-6A frames which can range in size from 8 to 128 bits.  Please refer
to the following link for a detailed explanation or RC6 frames:
http://slydiman.narod.ru/scr/kb/rc6.htm

This change removes the assumption that frames are fixed length
(currently either 24 or 32 data bits) and actually counts the number of
bits until an end of frame marker is seen.

[mchehab@redhat.com: Tested with a RC-6(0) IR - 16 bits]
Tested-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/ir-rc6-decoder.c