mfd: intel_soc_pmic_bxtwc: Chain power button IRQs as well
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 30 Aug 2018 16:52:52 +0000 (19:52 +0300)
committerLee Jones <lee.jones@linaro.org>
Tue, 23 Oct 2018 07:58:34 +0000 (08:58 +0100)
commit9f8ddee1dab836ca758ca8fc555ab5a3aaa5d3fd
tree33b4938f3b2b195a80db74bb4a88bbaafd893974
parent8bd2d03e54bbe2c75802c81f5635ebb4c36f7a2c
mfd: intel_soc_pmic_bxtwc: Chain power button IRQs as well

Power button IRQ actually has a second level of interrupts to
distinguish between UI and POWER buttons. Moreover, current
implementation looks awkward in approach to handle second level IRQs by
first level related IRQ chip.

To address above issues, split power button IRQ to be chained as well.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/intel_soc_pmic_bxtwc.c
include/linux/mfd/intel_soc_pmic.h