]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
media: ite-cir: IR receiver stop working after receive overflow
authorSean Young <sean@mess.org>
Sun, 17 Oct 2021 12:01:15 +0000 (13:01 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Thu, 13 Jan 2022 17:41:46 +0000 (18:41 +0100)
commit341962a37315757e0c8c05a95ddf543f43ab4ffc
tree610db130ccb539afbb430d8e7ed455c4980c2ad4
parentc1eea101acd7e31624eb1496548fca325e7477ee
media: ite-cir: IR receiver stop working after receive overflow

BugLink: https://bugs.launchpad.net/bugs/1953387
commit fdc881783099c6343921ff017450831c8766d12a upstream.

On an Intel NUC6iSYK, no IR is reported after a receive overflow.

When a receiver overflow occurs, this condition is only cleared by
reading the fifo. Make sure we read anything in the fifo.

Fixes: 28c7afb07ccf ("media: ite-cir: check for receive overflow")
Suggested-by: Bryan Pass <bryan.pass@gmail.com>
Tested-by: Bryan Pass <bryan.pass@gmail.com>
Cc: stable@vger.kernel.org>
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
drivers/media/rc/ite-cir.c