aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/ir-jvc-decoder.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2016-07-31 10:42:55 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-09-22 11:23:50 -0300
commitd14f291b6280a675b7bf129aa9a2d7a077554a31 (patch)
treec37f8e2bbafe9dddd0025e96dfd6acbe351d5130 /drivers/media/rc/ir-jvc-decoder.c
parent033919e0f8debfc2e5cfb13edf8fbdeff5b47b7d (diff)
downloadlinux-d14f291b6280a675b7bf129aa9a2d7a077554a31.tar.gz
[media] media: rc: nuvoton: ignore spurious interrupt when logical device is being disabled
When removing module nuvoton-cir I get a fifo overrun warning. It turned out to be caused by a spurious interrupt when the logical CIR device is being disabled (although no interrupt source bit being set). Reading the interrupt status register returns 0xff, therefore the fifo overrun bit is mistakenly interpreted as being set. Fix this by ignoring interrupts when interrupt source and status register reads return 0xff. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/rc/ir-jvc-decoder.c')
0 files changed, 0 insertions, 0 deletions