media: ir-kbd-i2c: improve responsiveness of hauppauge zilog receivers
Subsystems (2)
PATCH 1/1 media: ir-kbd-i2c: improve responsiveness of hauppauge zilog receivers
The IR receiver has two issues:
- Sometimes there is no response to a button press
- Sometimes a button press is repeated when it should not have been
Hanging the polling interval fixes this behaviour.
Suggested-by Joaquín Alberto Calderón Pozo <[email protected]>
Signed-off-by Sean Young <[email protected]>
--- drivers/media/i2c/ir-kbd-i2c.c | 1 + 1 file changed, 1 insertion(+)
drivers/media/i2c/ir-kbd-i2c.c +1 -0
@@ -791,6 +791,7 @@ static int ir_probe(struct i2c_client *client, const struct i2c_device_id *id) rc_proto =RC_PROTO_BIT_RC5 |RC_PROTO_BIT_RC6_MCE |RC_PROTO_BIT_RC6_6A_32 ; ir_codes =RC_MAP_HAUPPAUGE ; + ir->polling_interval =125 ; probe_tx = true;break ; }
Signature · 1 line
2.31.1