Skip to content

Commit

Permalink
[media] nuvoton-cir: remove unneeded call to nvt_set_cir_iren
Browse files Browse the repository at this point in the history
Calling nvt_set_cir_iren separately is not needed as this is done
by nvt_cir_regs_init.

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 0c6fbfd commit d790c9b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/media/rc/nuvoton-cir.c
Original file line number Diff line number Diff line change
Expand Up @@ -1179,9 +1179,6 @@ static int nvt_resume(struct pnp_dev *pdev)

nvt_dbg("%s called", __func__);

/* open interrupt */
nvt_set_cir_iren(nvt);

nvt_cir_regs_init(nvt);
nvt_cir_wake_regs_init(nvt);

Expand Down

0 comments on commit d790c9b

Please sign in to comment.