Skip to content
Commit b9f49528 authored by Patryk Duda's avatar Patryk Duda Committed by Carles Cufí
Browse files

drivers: flash: Do not unlock CR at the end of initialization



Unlocking CR at the end of initialization was added in commit
a9183cd5. It was probably copied
from previous flash driver implementation.

Unlocking and locking CR in write and erase functions was added in
commit 6e4cdb0c. Since we always unlock
the register before writing or erasing, and lock it after the operation
is finished, there is no need to unlock it after initialization.

Signed-off-by: default avatarPatryk Duda <pdk@semihalf.com>
parent f3b0a8f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment