diff options
author | Antti Seppälä <a.seppala@gmail.com> | 2015-03-31 13:48:12 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-05-14 13:37:03 -0400 |
commit | da7ee60b03bd66bb10974d7444aa444de6391312 (patch) | |
tree | d123bf7671c6878f6724037c0464d87894ae2d07 /drivers/media/rc/nuvoton-cir.h | |
parent | 2e4ebde269236da2a41183522127715b6d9d80ce (diff) |
[media] rc: nuvoton-cir: Add support for writing wakeup samples via sysfs filter callback
Nuvoton-cir utilizes the encoding capabilities of rc-core to convert
scancodes from user space to pulse/space format understood by the
underlying hardware.
Converted samples are then written to the wakeup fifo along with other
necessary configuration to enable wake up functionality.
Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: James Hogan <james@albanarts.com>
Cc: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/rc/nuvoton-cir.h')
-rw-r--r-- | drivers/media/rc/nuvoton-cir.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/rc/nuvoton-cir.h b/drivers/media/rc/nuvoton-cir.h index e1cf23c3875b..9d0e161c2a88 100644 --- a/drivers/media/rc/nuvoton-cir.h +++ b/drivers/media/rc/nuvoton-cir.h | |||
@@ -63,6 +63,7 @@ static int debug; | |||
63 | */ | 63 | */ |
64 | #define TX_BUF_LEN 256 | 64 | #define TX_BUF_LEN 256 |
65 | #define RX_BUF_LEN 32 | 65 | #define RX_BUF_LEN 32 |
66 | #define WAKE_FIFO_LEN 67 | ||
66 | 67 | ||
67 | struct nvt_dev { | 68 | struct nvt_dev { |
68 | struct pnp_dev *pdev; | 69 | struct pnp_dev *pdev; |