Skip to content
Commit 6e0d0f58 authored by Jordan Yates's avatar Jordan Yates Committed by Anas Nashif
Browse files

spi: nrfx_spim: fix incorrect clock control logic



To determine whether device runtime PM is enabled on a device, use
`pm_device_runtime_is_enabled`. This results in the same behaviour when
`CONFIG_PM_DEVICE_RUNTIME=n`, but properly controls the clocks on a
per-instance basis when `CONFIG_PM_DEVICE_RUNTIME=y`.

Signed-off-by: default avatarJordan Yates <jordan@embeint.com>
parent 4de0c9ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment