diff options
| author | Marek BehĂșn <[email protected]> | 2021-10-05 15:55:57 +0200 |
|---|---|---|
| committer | Jagan Teki <[email protected]> | 2021-10-23 15:47:33 +0530 |
| commit | 36384f612da992ab485c4b7cd768a89e8c3fe8cf (patch) | |
| tree | ef7113f861329df7cc75674e6d5f48a28c51588c /include/linux | |
| parent | e66c6f10272cba050068017081b0996a9fa8b786 (diff) | |
mtd: spi-nor-core: Try cleaning up in case writing BAR failed
Use the cleanup codepath of spi_nor_erase() also in the event of failure
of writing the BAR register.
Signed-off-by: Marek BehĂșn <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
Reviewed-by: Pratyush Yadav <[email protected]>
Tested-by: Masami Hiramatsu <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
