From: Heiner Kallweit Date: Wed, 30 Dec 2015 16:44:13 +0000 (-0200) Subject: [media] nuvoton-cir: remove unneeded call to nvt_set_cir_iren X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d790c9b93b0c37a23680c88b63be0e34744f764e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] nuvoton-cir: remove unneeded call to nvt_set_cir_iren Calling nvt_set_cir_iren separately is not needed as this is done by nvt_cir_regs_init. Signed-off-by: Heiner Kallweit Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/rc/nuvoton-cir.c b/drivers/media/rc/nuvoton-cir.c index ec14b63a280d..d396dcc11be5 100644 --- a/drivers/media/rc/nuvoton-cir.c +++ b/drivers/media/rc/nuvoton-cir.c @@ -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);