Skip to content

Commit

Permalink
[media] nuvoton-cir: remove unneeded EFM operation in nvt_cir_isr
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiner Kallweit authored and Mauro Carvalho Chehab committed Jan 25, 2016
1 parent ccca00d commit 0c6fbfd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/media/rc/nuvoton-cir.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit 0c6fbfd

Please sign in to comment.