Skip to content
Commit de9ed4e6 authored by Peter Bigot's avatar Peter Bigot Committed by Carles Cufi
Browse files

kernel: sys_clock: update weak pm control function



The weak implementation returns 0 for all operations without doing
anything, which incorrectly suggests that an operation like
device_get_power_state() returned an accurate description of the
system clock power state.  Return -ENOTSUP instead.

Signed-off-by: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent ae935dcc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment