[media] media: rc: nuvoton: fix rx fifo overrun handling
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 22 May 2016 13:43:40 +0000 (10:43 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 8 Jul 2016 20:03:41 +0000 (17:03 -0300)
commit398d9da83f98daf561c5d4d5dda6fd649084008d
tree9180b9b0eee991c391207befdea0569bdd33629a
parent678fdb6889a3ab9bc848550a373b3af9a95a1090
[media] media: rc: nuvoton: fix rx fifo overrun handling

To detect a rx fifo overrun it's checked whether the number of elements
in the chip fifo exceeds the fifo size. This check can never return true
and is wrong.
Instead we should generate an interrupt if the fifo overruns.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/nuvoton-cir.c
This page took 0.024446 seconds and 5 git commands to generate.