linux/drivers/power/reset
Linus Walleij 4a9be94055 power: gemini-poweroff: Avoid spurious poweroff
On the D-Link DIR-685 we get spurious poweroff from
infrared. Since that block (CIR) doesn't even have a
driver this can be safely ignored, we can revisit this
code once we have a device supporting CIR.

On the D-Link DNS-313 we get spurious poweroff from
the power button. This appears to be an initialization
issue: we need to enable the block (start the state
machine) before we clear any dangling IRQ.

This patch fixes both issues.

Fixes: f7a388d6cd ("power: reset: Add a driver for the Gemini poweroff")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
2018-02-22 21:35:04 +01:00
..
arm-versatile-reboot.c
as3722-poweroff.c
at91-poweroff.c
at91-reset.c
at91-sama5d2_shdwc.c
axxia-reset.c
brcm-kona-reset.c
brcmstb-reboot.c
gemini-poweroff.c power: gemini-poweroff: Avoid spurious poweroff 2018-02-22 21:35:04 +01:00
gpio-poweroff.c
gpio-restart.c
hisi-reboot.c
Kconfig
keystone-reset.c
ltc2952-poweroff.c
Makefile
msm-poweroff.c
piix4-poweroff.c
qnap-poweroff.c
reboot-mode.c
restart-poweroff.c
rmobile-reset.c
st-poweroff.c
syscon-poweroff.c
syscon-reboot-mode.c
syscon-reboot.c
vexpress-poweroff.c
xgene-reboot.c
zx-reboot.c