Skip to contentSkip to conversation

media: ir-kbd-i2c: improve responsiveness of hauppauge zilog receivers

git:media_stage/master Mauro Carvalho Chehab 1 participant 1 message Sep 19, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

This is an automatic generated email to let you know that the following patch were queued:

Subject: media: ir-kbd-i2c: improve responsiveness of hauppauge zilog receivers
Author:  Sean Young <[email protected]>
Date:    Wed Sep 15 18:14:07 2021 +0200

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.

 drivers/media/i2c/ir-kbd-i2c.c | 1 +
 1 file changed, 1 insertion(+)

---

drivers/media/i2c/ir-kbd-i2c.c +1 -0
index 92376592455e..56674173524f 100644
@@ -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;
 	}