[media] rc: nuvoton-cir: Add support for writing wakeup samples via sysfs filter...
authorAntti Seppälä <a.seppala@gmail.com>
Tue, 31 Mar 2015 17:48:12 +0000 (14:48 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 14 May 2015 17:37:03 +0000 (14:37 -0300)
commitda7ee60b03bd66bb10974d7444aa444de6391312
treed123bf7671c6878f6724037c0464d87894ae2d07
parent2e4ebde269236da2a41183522127715b6d9d80ce
[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>
drivers/media/rc/nuvoton-cir.c
drivers/media/rc/nuvoton-cir.h
include/media/rc-core.h