media: ir-kbd-i2c: improve responsiveness of hauppauge zilog receivers
authorSean Young <sean@mess.org>
Wed, 15 Sep 2021 16:14:07 +0000 (18:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Nov 2021 18:15:53 +0000 (19:15 +0100)
commit7cfad3f87d803ab737d786b7664e4dfdeea8fb70
tree48011e3751a3f2090097a55116d73ebebc9fc3a6
parent9e37e1cad5b09b2ed3b015f12bcfc9eb10c84ffd
media: ir-kbd-i2c: improve responsiveness of hauppauge zilog receivers

commit c73ba202a851c0b611ef2c25e568fadeff5e667f upstream.

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.

Link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994050
Cc: stable@vger.kernel.org
Suggested-by: Joaquín Alberto Calderón Pozo <kini_calderon@hotmail.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/i2c/ir-kbd-i2c.c