[media] nuvoton-cir: remove unneeded call to nvt_set_cir_iren
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 30 Dec 2015 16:44:13 +0000 (14:44 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 25 Jan 2016 17:45:41 +0000 (15:45 -0200)
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>
drivers/media/rc/nuvoton-cir.c

index ec14b63a280d892e1fd0d5985148937fbb0b6e63..d396dcc11be57e8b05c3e6724002e4ffea2f91f5 100644 (file)
@@ -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);
 
This page took 0.038614 seconds and 5 git commands to generate.