zephyr/subsys
Benjamin Valentin 4dc672fc19 power: don't switch to power modes not enabled in Kconfig
Disable low power/deep sleep modes when they are not enabled in Kconfig.
Otherwise if only low power modes are enabled (but no deep sleep),
Zephyr will try to swich to the lowest power mode (deep sleep) anyway,
only to discover that it's not availiable, resulting in no low power
mode at all being used.

By disabling the modes here if they are not enabled in Kconfig,
policy_residency will switch to the lowest low power mode instead.

Signed-off-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2019-03-07 07:18:10 -05:00
..
bluetooth Bluetooth: controller: Fix unchecked return value 2019-03-05 13:08:12 +01:00
console
cpp
debug
dfu
disk
fb
fs
jwt
logging logging: Fix RTT log backend lagging if no host 2019-03-07 13:06:52 +01:00
mgmt
net Revert "net: sockets: recv_stream: Check that the underlying net_context active" 2019-03-06 17:40:52 -05:00
power power: don't switch to power modes not enabled in Kconfig 2019-03-07 07:18:10 -05:00
random
settings
shell
stats
storage
testsuite
usb usb/net: Switch RNDIS netusb driver to new net_pkt API 2019-03-06 17:46:18 -05:00
CMakeLists.txt
Kconfig