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

drivers: flash: nrf_qspi_nor: clean up lock/unlock idioms



Having a completion wait function release a lock internally only when
the operation fails is confusing.  Remove that feature, and make the
lock and unlock operations explicit and paired.

This makes it much more clear how to properly handle transactions that
require multiple calls to the HAL.

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