diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-02-22 10:45:21 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.co.uk> | 2018-02-22 23:35:04 +0300 |
commit | 4a9be940551ab664918ac089b92c47d74e6cb8e7 (patch) | |
tree | 0743260addef98cfe274a2d7f5c5a3a7d7cbe5dc /drivers/power/reset/hisi-reboot.c | |
parent | dde5953f05a89eb63a0d666ffe51d447b2ac3e05 (diff) | |
download | linux-4a9be940551ab664918ac089b92c47d74e6cb8e7.tar.xz |
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: f7a388d6cd1c ("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>
Diffstat (limited to 'drivers/power/reset/hisi-reboot.c')
0 files changed, 0 insertions, 0 deletions