diff options
author | Sean Young <sean@mess.org> | 2017-02-25 06:51:30 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-12-14 10:35:15 -0500 |
commit | cdfaa01c1cfeb828e6d3c0c5e4f54375fc3ccb95 (patch) | |
tree | 345883c562e041080b6f48b04f5b379a4c7692af /drivers/media/rc/ir-sharp-decoder.c | |
parent | 9b6192589be788dec73a0e99fe49b8f8ddaf825e (diff) | |
download | op-kernel-dev-cdfaa01c1cfeb828e6d3c0c5e4f54375fc3ccb95.zip op-kernel-dev-cdfaa01c1cfeb828e6d3c0c5e4f54375fc3ccb95.tar.gz |
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>
Diffstat (limited to 'drivers/media/rc/ir-sharp-decoder.c')
-rw-r--r-- | drivers/media/rc/ir-sharp-decoder.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/rc/ir-sharp-decoder.c b/drivers/media/rc/ir-sharp-decoder.c index 7140dd6..df29699 100644 --- a/drivers/media/rc/ir-sharp-decoder.c +++ b/drivers/media/rc/ir-sharp-decoder.c @@ -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) |