diff options
author | Oliver Endriss <o.endriss@gmx.de> | 2007-03-12 20:45:46 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-27 14:44:49 -0400 |
commit | 1b2457680f237f858d5f6bcf933cd173a7b27a81 (patch) | |
tree | 414653e4e73dc191bde3c159688755745154d878 /drivers/media | |
parent | 9e0df402e695e638dfee94a6e05fca48b15404e6 (diff) |
V4L/DVB (5440): Dvb-ttpci: Infrared remote initialization fix
Fix bug introduced during infrared refactoring.
Thanks to Johann Friedrichs for spotting this.
Thanks-to: Johann Friedrichs <johann.friedrichs@web.de>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/dvb/ttpci/av7110_ir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/ttpci/av7110_ir.c b/drivers/media/dvb/ttpci/av7110_ir.c index b7fd15959aad..a97f166bb523 100644 --- a/drivers/media/dvb/ttpci/av7110_ir.c +++ b/drivers/media/dvb/ttpci/av7110_ir.c | |||
@@ -329,8 +329,8 @@ int __devinit av7110_ir_init(struct av7110 *av7110) | |||
329 | if (av_cnt >= ARRAY_SIZE(av_list)) | 329 | if (av_cnt >= ARRAY_SIZE(av_list)) |
330 | return -ENOSPC; | 330 | return -ENOSPC; |
331 | 331 | ||
332 | av7110_check_ir_config(av7110, true); | ||
333 | av_list[av_cnt++] = av7110; | 332 | av_list[av_cnt++] = av7110; |
333 | av7110_check_ir_config(av7110, true); | ||
334 | 334 | ||
335 | init_timer(&av7110->ir.keyup_timer); | 335 | init_timer(&av7110->ir.keyup_timer); |
336 | av7110->ir.keyup_timer.function = av7110_emit_keyup; | 336 | av7110->ir.keyup_timer.function = av7110_emit_keyup; |