media: lirc: use the correct carrier for scancode transmit

If the lirc device supports it, set the carrier for the protocol.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Sean Young
2017-02-25 06:51:30 -05:00
committed by Mauro Carvalho Chehab
parent 9b6192589b
commit cdfaa01c1c
12 changed files with 58 additions and 11 deletions

View File

@@ -226,6 +226,7 @@ static struct ir_raw_handler sharp_handler = {
.protocols = RC_PROTO_BIT_SHARP,
.decode = ir_sharp_decode,
.encode = ir_sharp_encode,
.carrier = 38000,
};
static int __init ir_sharp_decode_init(void)