summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2015-12-30 14:42:56 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-01-25 15:45:41 -0200
commit0c6fbfdf8663e26a7e29f6142bd7ac2ac35310af (patch)
tree50f2224b91b460b602d1eedea59164f88ee832d8 /drivers/media/rc
parentccca00d6d7c2d6cec282ac3e3942032268d50fe4 (diff)
downloadlinux-stable-0c6fbfdf8663e26a7e29f6142bd7ac2ac35310af.tar.gz
linux-stable-0c6fbfdf8663e26a7e29f6142bd7ac2ac35310af.tar.bz2
linux-stable-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')
-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
*