Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1435129
| From | Andi Shyti <andi.shyti@samsung.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 15/15] [media] include: lirc: add LIRC_GET_LENGTH command |
| Date | 2016-07-01 10:20 +0200 |
| Message-ID | <rQ1Q6-4fw-37@gated-at.bofh.it> (permalink) |
| References | <rQ1Gp-4bf-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Added the get length command to allow userspace users to check on
the data length.
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
---
include/uapi/linux/lirc.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/lirc.h b/include/uapi/linux/lirc.h
index 4b3ab29..801e5f8 100644
--- a/include/uapi/linux/lirc.h
+++ b/include/uapi/linux/lirc.h
@@ -106,6 +106,7 @@
/* code length in bits, currently only for LIRC_MODE_LIRCCODE */
#define LIRC_GET_LENGTH _IOR('i', 0x0000000f, __u32)
+#define LIRC_SET_LENGTH _IOW('i', 0x00000010, __u32)
#define LIRC_SET_SEND_MODE _IOW('i', 0x00000011, __u32)
#define LIRC_SET_REC_MODE _IOW('i', 0x00000012, __u32)
--
2.8.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v2 15/15] [media] include: lirc: add LIRC_GET_LENGTH command Andi Shyti <andi.shyti@samsung.com> - 2016-07-01 10:20 +0200 Re: [PATCH v2 15/15] [media] include: lirc: add LIRC_GET_LENGTH command Sean Young <sean@mess.org> - 2016-07-01 11:30 +0200
csiph-web