Skip to content
Commit 4bc4bbf3 authored by Olivier Martin's avatar Olivier Martin Committed by Anas Nashif
Browse files

drivers: flash: w25q: Allow to skip SYNC_LOCK/SYNC_UNLOCK



The next commit will use this new
spi_flash_wb_write_protection_set_with_lock() in
spi_flash_wb_write() that already hold the lock.
To prevent a lock we need to skip the SYNC_LOCK when we want
to disable write protection.

Signed-off-by: default avatarOlivier Martin <olivier.martin@proglove.de>
parent 6b5906b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment