Commit b3d98135 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

V4L/DVB (6981): Fix bugzillas 9686 and 9691

IR were not working for Winfast XP 2000 TV.

Gabor Nyekhelyi <> wrote a hack some time ago:

This patch fixes CodingStyle and commits the hack. I suspect that the proper
solution would be to find the proper mask_keydown for this IR. Anyway, better
to have this patch as a workaround.

Thanks to Stafan Talpalaru <> for pointing the issue.
CC: Gabor Nyekhelyi <>
CC: Stafan Talpalaru <>
Signed-off-by: default avatarMauro Carvalho Chehab <>
parent 8d316bf5
......@@ -69,6 +69,11 @@ static void ir_handle_key(struct bttv *btv)
(ir->mask_keyup && (0 == (gpio & ir->mask_keyup)))) {
} else {
/* HACK: Probably, ir->mask_keydown is missing
for this board */
if (btv->c.type == BTTV_BOARD_WINFAST2000)
ir_input_keydown(ir->dev, &ir->ir, data, data);
Supports Markdown
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