[media] nuvoton-cir: fix clearing wake fifo
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 30 Dec 2015 16:40:47 +0000 (14:40 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 25 Jan 2016 17:45:35 +0000 (15:45 -0200)
commite1a7d981cfefbf8e0261083a10ccad7dd0af6394
tree78cf75f93f406f763e9056fecc1bfb51ac89c134
parenta17ede9ac1d8164e4d0b0b58e21bfa40890818d2
[media] nuvoton-cir: fix clearing wake fifo

At least on NVT6779D clearing the wake fifo works in learning mode only
(although this condition is not mentioned in the chip spec).
Setting the clear fifo bit has no effect in wake up mode.
Even if clearing the wake fifo should work in wake up mode on other
chips this workaround doesn't hurt.
If needed the caller of nvt_clear_cir_wake_fifo has to take care
of locking.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/nuvoton-cir.c
This page took 0.041122 seconds and 5 git commands to generate.