linux/drivers/power
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
..
avs PM / AVS: SmartReflex: Prepare to use device tree based probing 2018-02-28 16:32:09 -08:00
reset gpio-poweroff: Use gpiod_set_value_cansleep 2018-04-25 23:05:59 +02:00
supply power supply and reset changes for the v4.17 series 2018-04-03 12:10:01 -07:00
Kconfig power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
Makefile power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00