summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2017-02-25 06:51:30 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-14 10:35:15 -0500
commitcdfaa01c1cfeb828e6d3c0c5e4f54375fc3ccb95 (patch)
tree345883c562e041080b6f48b04f5b379a4c7692af /include
parent9b6192589be788dec73a0e99fe49b8f8ddaf825e (diff)
downloadlinux-cdfaa01c1cfeb828e6d3c0c5e4f54375fc3ccb95.tar.bz2
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 'include')
-rw-r--r--include/media/rc-core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/rc-core.h b/include/media/rc-core.h
index 314a1edb6189..ca48632ec8e2 100644
--- a/include/media/rc-core.h
+++ b/include/media/rc-core.h
@@ -309,6 +309,7 @@ int ir_raw_event_store_with_filter(struct rc_dev *dev,
void ir_raw_event_set_idle(struct rc_dev *dev, bool idle);
int ir_raw_encode_scancode(enum rc_proto protocol, u32 scancode,
struct ir_raw_event *events, unsigned int max);
+int ir_raw_encode_carrier(enum rc_proto protocol);
static inline void ir_raw_event_reset(struct rc_dev *dev)
{