linux/drivers/power/reset
Mike Looijmans 77142a6112 gpio-poweroff: Use gpiod_set_value_cansleep
The power-off call is done in a context that must be able to sleep, so
use gpiod_set_value_cansleep instead of the atomic gpiod_set_value call.

This fixes a kernel warning at shutdown when the gpio is controlled
through an IO expander for example.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
2018-04-25 23:05:59 +02:00
..
arm-versatile-reboot.c
as3722-poweroff.c
at91-poweroff.c power: reset: at91-poweroff: Remove redundant dev_err call in at91_poweroff_probe() 2018-03-19 20:50:51 +01:00
at91-reset.c power: reset: at91-reset: Switch from the pr_*() to the dev_*() logging functions 2018-03-19 20:51:17 +01:00
at91-sama5d2_shdwc.c power: reset: account for const type of of_device_id.data 2018-01-08 18:40:57 +01:00
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-poweroff: Use gpiod_set_value_cansleep 2018-04-25 23:05:59 +02:00
gpio-restart.c
hisi-reboot.c
Kconfig power: reset: Add Spreadtrum SC27xx PMIC power off support 2018-03-09 17:11:31 +01:00
keystone-reset.c
ltc2952-poweroff.c
Makefile power: reset: Add Spreadtrum SC27xx PMIC power off support 2018-03-09 17:11:31 +01:00
msm-poweroff.c power: reset: msm: Clarify restart and poweroff 2018-01-08 18:04:43 +01:00
ocelot-reset.c power: reset: Add a driver for the Microsemi Ocelot reset 2018-02-12 11:23:46 +01:00
piix4-poweroff.c Update MIPS email addresses 2017-11-03 09:02:30 -07:00
qnap-poweroff.c
reboot-mode.c
restart-poweroff.c
rmobile-reset.c
sc27xx-poweroff.c power: reset: make function sc27xx_poweroff_shutdown static 2018-03-13 12:10:04 +01:00
st-poweroff.c
syscon-poweroff.c
syscon-reboot-mode.c
syscon-reboot.c
vexpress-poweroff.c
xgene-reboot.c
zx-reboot.c power: reset: zx-reboot: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE 2017-12-01 16:10:48 +01:00