Browse Source

[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>
Heiner Kallweit 9 years ago
parent
commit
0c6fbfdf86
1 changed files with 0 additions and 4 deletions
  1. 0 4
      drivers/media/rc/nuvoton-cir.c

+ 0 - 4
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_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
 	 * Get IR Status register contents. Write 1 to ack/clear
 	 *
 	 *