[media] include: lirc: add set length and frequency ioctl options
authorAndi Shyti <andi.shyti@samsung.com>
Mon, 13 Jun 2016 03:53:38 +0000 (12:53 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:51:02 +0000 (13:51 +0900)
commitf63147121cc85fe1d2b708c8b62e0c72a5cc34a4
tree683ccd71219e9e850cb867c53d88c3b064426c75
parentf77f82a4cd39f6deb1be8b1b3da132d2387791e6
[media] include: lirc: add set length and frequency ioctl options

The Lirc framework works mainly with receivers, but there is
nothing that prevents us from using it for transmitters as well.

For that we need to have more control on the device frequency to
set (which is a new concept fro LIRC) and we also need to provide
to userspace, as feedback, the values of the used frequency and
length.

Add the LIRC_SET_LENGTH, LIRC_GET_FREQUENCY and
LIRC_SET_FREQUENCY ioctl commands in order to allow the above
mentioned operations.

Change-Id: I50b08e4da89a61f4b14f8a2752b905bc9e4a1d34
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
include/media/lirc.h