ir: ir support both NEC and RC5 [1/1]

PD#SWPL-5555

Problem:
Current driver does not support both NEC and RC5

Solution:
Add a macro to depecit both NEC and RC5 state

Verify:
X301

Change-Id: I06894d033eabdb22db6e34fc2ad76e0390ef565f
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
This commit is contained in:
Qianggui Song
2019-03-06 16:41:03 +08:00
committed by Dongjin Kim
parent 8c4777711c
commit 90a6fefda0

View File

@@ -56,6 +56,7 @@
*2. multi-format IR controller decode other protocol
*/
#define REMOTE_TYPE_NEC_RC6 ((REMOTE_TYPE_LEGACY_NEC << 8) | REMOTE_TYPE_RC6)
#define REMOTE_TYPE_NEC_RC5 ((REMOTE_TYPE_LEGACY_NEC << 8) | REMOTE_TYPE_RC5)
#define REMOTE_TYPE_NEC_TOSHIBA ((REMOTE_TYPE_LEGACY_NEC << 8) | \
REMOTE_TYPE_TOSHIBA)