summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2007-03-13 01:45:46 +0100
committerOliver Endriss <o.endriss@gmx.de>2007-03-13 01:45:46 +0100
commitba0c6fb06db39c56b08a15def52d2f413101c14b (patch)
tree31e731f902f79f64d1d6ad2cce9039cd80326b80 /linux
parent17a569d12a5fe6b3ec8b1ece9615cd14921a602d (diff)
downloadmediapointer-dvb-s2-ba0c6fb06db39c56b08a15def52d2f413101c14b.tar.gz
mediapointer-dvb-s2-ba0c6fb06db39c56b08a15def52d2f413101c14b.tar.bz2
dvb-ttpci: Infrared remote initialization fix
From: Oliver Endriss <o.endriss@gmx.de> Fix bug introduced during infrared refactoring. Thanks to Johann Friedrichs for spotting this. Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Thanks-to: Johann Friedrichs <johann.friedrichs@web.de>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110_ir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110_ir.c b/linux/drivers/media/dvb/ttpci/av7110_ir.c
index 9d7610f8f..0e8484b11 100644
--- a/linux/drivers/media/dvb/ttpci/av7110_ir.c
+++ b/linux/drivers/media/dvb/ttpci/av7110_ir.c
@@ -329,8 +329,8 @@ int __devinit av7110_ir_init(struct av7110 *av7110)
if (av_cnt >= ARRAY_SIZE(av_list))
return -ENOSPC;
- av7110_check_ir_config(av7110, true);
av_list[av_cnt++] = av7110;
+ av7110_check_ir_config(av7110, true);
init_timer(&av7110->ir.keyup_timer);
av7110->ir.keyup_timer.function = av7110_emit_keyup;