drivers: flash: stm32h7: do not unlock CR at the end of init
Do not unlock CR at the end of initialization.
The lock mechanism is to protect unwanted registers modifications due to
software bugs. There is no point in leaving the registers unlock once
the driver is initialized.
Signed-off-by:
Dawid Niedzwiecki <dawidn@google.com>
Loading
Please sign in to comment