summaryrefslogtreecommitdiffstats
path: root/drivers/media/IR/ir-raw-event.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-03-26 03:49:46 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-18 05:53:01 +0200
commit20d5f116ec777c9c7ce5b74f0d17ee1d01a0d833 (patch)
treeb25e179adb667c18e14dbd7088c3a850150f0c68 /drivers/media/IR/ir-raw-event.c
parentV4L/DVB: ir-core: prepare to add more operations for ir decoders (diff)
downloadlinux-20d5f116ec777c9c7ce5b74f0d17ee1d01a0d833.tar.xz
linux-20d5f116ec777c9c7ce5b74f0d17ee1d01a0d833.zip
V4L/DVB: ir-nec-decoder: Add sysfs node to enable/disable per irrcv
With the help of raw_register/raw_unregister, adds a sysfs group associated with the decoder, inside the corresponding irrcv node. Writing 1 to nec_decoder/enabled enables the decoder, while writing 0 disables it. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to '')
-rw-r--r--drivers/media/IR/ir-raw-event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/IR/ir-raw-event.c b/drivers/media/IR/ir-raw-event.c
index 11f23f4491b2..371d88e5a586 100644
--- a/drivers/media/IR/ir-raw-event.c
+++ b/drivers/media/IR/ir-raw-event.c
@@ -223,7 +223,7 @@ static void init_decoders(struct work_struct *work)
void ir_raw_init(void)
{
spin_lock_init(&ir_raw_handler_lock);
-
+
#ifdef MODULE
INIT_WORK(&wq_load, init_decoders);
schedule_work(&wq_load);