Skip to content
Commit ff0635d7 authored by Riku Karjalainen's avatar Riku Karjalainen Committed by Alberto Escolar
Browse files

drivers: flash: stm32: fix flash write error handling



The stm32 flash driver returns success even though
writing failed when instruction cache was enabled.
Fix by not overriding error code when re-enabling
instruction cache.

Signed-off-by: default avatarRiku Karjalainen <riku.karjalainen@vaisala.com>
parent d45605e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment