[media] nuvoton-cir: remove unneeded EFM operation in nvt_cir_isr
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 30 Dec 2015 16:42:56 +0000 (14:42 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 25 Jan 2016 17:45:41 +0000 (15:45 -0200)
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>
drivers/media/rc/nuvoton-cir.c

index 5593a2f5b6c4b667ea914f6e4634d743b06eef68..ec14b63a280d892e1fd0d5985148937fbb0b6e63 100644 (file)
@@ -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
         *
This page took 0.027606 seconds and 5 git commands to generate.