Commit 1b245768 authored by Oliver Endriss's avatar Oliver Endriss Committed by Mauro Carvalho Chehab

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: default avatarOliver Endriss <o.endriss@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 9e0df402
...@@ -329,8 +329,8 @@ int __devinit av7110_ir_init(struct av7110 *av7110) ...@@ -329,8 +329,8 @@ int __devinit av7110_ir_init(struct av7110 *av7110)
if (av_cnt >= ARRAY_SIZE(av_list)) if (av_cnt >= ARRAY_SIZE(av_list))
return -ENOSPC; return -ENOSPC;
av7110_check_ir_config(av7110, true);
av_list[av_cnt++] = av7110; av_list[av_cnt++] = av7110;
av7110_check_ir_config(av7110, true);
init_timer(&av7110->ir.keyup_timer); init_timer(&av7110->ir.keyup_timer);
av7110->ir.keyup_timer.function = av7110_emit_keyup; av7110->ir.keyup_timer.function = av7110_emit_keyup;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment