zephyr/kernel
Peter Bigot ae935dccdf device_pm: correct nop documented behavior
The device_pm_control_nop function is documented to always return zero
regardless of operation.  However, when device_get_power_state() is
invoked with this control function it returns success leaving the
output parameter state unmodified, which may not be a valid device
state.

Document and implement that the nop control function returns -ENOTSUP
always.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-05-21 20:32:12 +02:00
..
include kernel: simplify dummy thread implementation 2020-05-13 21:23:52 +02:00
atomic_c.c
CMakeLists.txt
compiler_stack_protect.c
device.c device_pm: correct nop documented behavior 2020-05-21 20:32:12 +02:00
errno.c
fatal.c
futex.c
idle.c
init.c kernel: simplify dummy thread implementation 2020-05-13 21:23:52 +02:00
Kconfig kernel/Kconfig: Add prompt for CONFIG_TIMEOUT_64BIT 2020-05-06 06:05:03 -04:00
Kconfig.power_mgmt
kheap.c
mailbox.c
mem_domain.c
mem_slab.c
mempool_sys.c
mempool.c
msg_q.c
mutex.c
pipes.c kernel: pipe: read_avail / write_avail syscalls 2020-05-07 19:39:53 +02:00
poll.c
queue.c
sched.c kernel: fix issue with k_thread_join() timeouts 2020-05-05 11:43:08 -07:00
sem.c
smp.c kernel: simplify dummy thread implementation 2020-05-13 21:23:52 +02:00
stack.c
system_work_q.c
thread_abort.c
thread.c kernel: wipe TLS before dropping to user mode 2020-05-13 22:02:48 +02:00
timeout.c
timer.c kernel/timer: Correctly clamp period argument 2020-04-24 16:38:33 +02:00
userspace_handler.c
userspace.c
version.c
work_q.c