mirror of https://gitee.com/openkylin/linux.git
[media] ir-kbd-i2c: pass device code w/key in hauppauge case
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>
This commit is contained in:
parent
206241069e
commit
6e5b960176
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue