summaryrefslogtreecommitdiffstats
path: root/drivers/media/IR/ir-raw-event.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-03-25 23:49:46 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-18 00:53:01 -0300
commit20d5f116ec777c9c7ce5b74f0d17ee1d01a0d833 (patch)
treeb25e179adb667c18e14dbd7088c3a850150f0c68 /drivers/media/IR/ir-raw-event.c
parent93c312ff21b0a53e701a45741887208297646a1a (diff)
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 'drivers/media/IR/ir-raw-event.c')
-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);