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:
Riku Karjalainen <riku.karjalainen@vaisala.com>
Loading
Please sign in to comment