summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/nuvoton-cir.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2015-12-30 17:42:56 +0100
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-01-25 18:45:41 +0100
commit0c6fbfdf8663e26a7e29f6142bd7ac2ac35310af (patch)
tree50f2224b91b460b602d1eedea59164f88ee832d8 /drivers/media/rc/nuvoton-cir.c
parent[media] nuvoton-cir: improve logical device handling (diff)
downloadlinux-0c6fbfdf8663e26a7e29f6142bd7ac2ac35310af.tar.xz
linux-0c6fbfdf8663e26a7e29f6142bd7ac2ac35310af.zip
[media] nuvoton-cir: remove unneeded EFM operation in nvt_cir_isr
Selecting the logical device in the interrupt handler is not needed as no configuration register is accessed. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/rc/nuvoton-cir.c')
-rw-r--r--drivers/media/rc/nuvoton-cir.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/rc/nuvoton-cir.c b/drivers/media/rc/nuvoton-cir.c
index 5593a2f5b6c4..ec14b63a280d 100644
--- a/drivers/media/rc/nuvoton-cir.c
+++ b/drivers/media/rc/nuvoton-cir.c
@@ -790,10 +790,6 @@ static irqreturn_t nvt_cir_isr(int irq, void *data)
nvt_dbg_verbose("%s firing", __func__);
- nvt_efm_enable(nvt);
- nvt_select_logical_dev(nvt, LOGICAL_DEV_CIR);
- nvt_efm_disable(nvt);
-
/*
* Get IR Status register contents. Write 1 to ack/clear
*