Skip to contentSkip to conversation

media: rc: nuvoton-cir: remove unneeded EFM operation in nvt_cir_isr

PATCH In review Heiner Kallweit 1 participant 1 message Dec 30, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 8/16 media: rc: 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.

---
 drivers/media/rc/nuvoton-cir.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/media/rc/nuvoton-cir.c +0 -4
index 342e21d..91f8fda 100644
@@ -800,10 +800,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
 	 *
Signature · 1 line
2.6.4