OSDN Git Service

platform/x86: intel_bxtwc_tmu: Remove first level IRQ unmask
authorKuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Mon, 5 Jun 2017 19:08:06 +0000 (12:08 -0700)
committerLee Jones <lee.jones@linaro.org>
Mon, 19 Jun 2017 14:45:30 +0000 (15:45 +0100)
Currently in WCOVE PMIC MFD driver, all second level IRQ chips
are chained to the respective first level IRQs. So there is no
need for explicitly unmasking the first level IRQ in this
driver. This patches removes this level 1 IRQ unmask support.

Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Reviewed-by: Darren Hart (VMware) <dvhart@infradead.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/platform/x86/intel_bxtwc_tmu.c

index e202abd..ea865d4 100644 (file)
@@ -92,10 +92,6 @@ static int bxt_wcove_tmu_probe(struct platform_device *pdev)
        }
        wctmu->irq = virq;
 
-       /* Enable TMU interrupts */
-       regmap_update_bits(wctmu->regmap, BXTWC_MIRQLVL1,
-                                 BXTWC_MIRQLVL1_MTMU, 0);
-
        /* Unmask TMU second level Wake & System alarm */
        regmap_update_bits(wctmu->regmap, BXTWC_MTMUIRQ_REG,
                                  BXTWC_TMU_ALRM_MASK, 0);