All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 08/16] media: rc: nuvoton-cir: remove unneeded EFM operation in nvt_cir_isr
@ 2015-12-30 16:42 Heiner Kallweit
  0 siblings, 0 replies; only message in thread
From: Heiner Kallweit @ 2015-12-30 16:42 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: linux-media

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>
---
 drivers/media/rc/nuvoton-cir.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/media/rc/nuvoton-cir.c b/drivers/media/rc/nuvoton-cir.c
index 342e21d..91f8fda 100644
--- a/drivers/media/rc/nuvoton-cir.c
+++ b/drivers/media/rc/nuvoton-cir.c
@@ -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
 	 *
-- 
2.6.4



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-30 16:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-30 16:42 [PATCH 08/16] media: rc: nuvoton-cir: remove unneeded EFM operation in nvt_cir_isr Heiner Kallweit

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.