Skip to content

Commit

Permalink
[media] ir-kbd-i2c: pass device code w/key in hauppauge case
Browse files Browse the repository at this point in the history
The new hauppauge key tables use both device code button code.

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Jarod Wilson authored and Mauro Carvalho Chehab committed Mar 22, 2011
1 parent 2062410 commit 6e5b960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/ir-kbd-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ static int get_key_haup_common(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw,
start, range, toggle, dev, code);

/* return key */
*ir_key = code;
*ir_key = (dev << 8) | code;
*ir_raw = ircode;
return 1;
}
Expand Down

0 comments on commit 6e5b960

Please sign in to comment.