diff options
author | Nilesh Bacchewar <nilesh.bacchewar@intel.com> | 2016-09-22 01:35:23 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-09-23 15:14:21 +0200 |
commit | 01dabe91b1fef93130207e1a04bdf0a092a9fb21 (patch) | |
tree | e376e5acadb0e35969aa18ba5f8c2187ca282b44 /drivers/pinctrl/samsung | |
parent | pinctrl: cherryview: Convert to use devm_gpiochip_add_data() (diff) | |
download | linux-01dabe91b1fef93130207e1a04bdf0a092a9fb21.tar.xz linux-01dabe91b1fef93130207e1a04bdf0a092a9fb21.zip |
pinctrl: intel: Configure GPIO chip IRQ as wakeup interrupts
On some Intel BXT platform, wake-up from suspend-to-idle on pressing
power-button is not working. Its noticed that gpio-keys driver marking the
second level IRQ/power-button as wake capable but Intel pintctrl
driver is missing to mark GPIO chip/controller IRQ which first level IRQ
as wake cable if its GPIO pin IRQ is wakeble. So, though the first level
IRQ gets generated on power-button press, since it is not marked as
wake capable resume/wake-up flow is not happening.
Intel pintctrl/GPIO driver need to mark GPIO chip/controller IRQ (first
level IRQ) as wake capable iff GPIO pin's IRQ (second level IRQ) is marked
as wake cable.
Changes in v2:
- Add missing irq initialisation.
Signed-off-by: Nilesh Bacchewar <nilesh.bacchewar@intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/samsung')
0 files changed, 0 insertions, 0 deletions