[media] rc: split nec protocol into its three variants
Currently we do not know what variant (bit length) of the nec protocol is used, other than from guessing from the length of the scancode. Now nec will be handled the same way as the sony protocol or the rc6 protocol; one variant per bit length. In the future we might want to expose the rc protocol type to userspace and we don't want to be introducing this world of pain into userspace too. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
00bb820755
commit
2ceeca0499
@@ -795,7 +795,9 @@ static const struct {
|
||||
{ RC_BIT_UNKNOWN, "unknown", NULL },
|
||||
{ RC_BIT_RC5 |
|
||||
RC_BIT_RC5X, "rc-5", "ir-rc5-decoder" },
|
||||
{ RC_BIT_NEC, "nec", "ir-nec-decoder" },
|
||||
{ RC_BIT_NEC |
|
||||
RC_BIT_NECX |
|
||||
RC_BIT_NEC32, "nec", "ir-nec-decoder" },
|
||||
{ RC_BIT_RC6_0 |
|
||||
RC_BIT_RC6_6A_20 |
|
||||
RC_BIT_RC6_6A_24 |
|
||||
|
Reference in New Issue
Block a user