Skip to content
Commit a33186a8 authored by Dominik Ermel's avatar Dominik Ermel Committed by Carles Cufí
Browse files

drivers: flash: spi_nor: Return EINVAL when erase out of range



Fixes spi_nor_erase to return -EINVAL instead of -ENODEV
when erase requested is out of flash range.
This makes the SPI NOR return the same error as all other errors.

Fixes #54897

Signed-off-by: default avatarDominik Ermel <dominik.ermel@nordicsemi.no>
parent f8b9f2fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment