aboutsummaryrefslogtreecommitdiff
path: root/include/spi_flash.h
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2021-10-05 15:56:00 +0200
committerJagan Teki <jagan@amarulasolutions.com>2021-10-23 15:47:33 +0530
commitf57277997bd8036d45337ec60b08a025a0473f89 (patch)
tree74943a09c7087d1092d4b33e02c80a133bb3ad60 /include/spi_flash.h
parenta9d9d412e00e246dbba2076ce3c11b7a5b542a76 (diff)
downloadu-boot-f57277997bd8036d45337ec60b08a025a0473f89.zip
u-boot-f57277997bd8036d45337ec60b08a025a0473f89.tar.gz
u-boot-f57277997bd8036d45337ec60b08a025a0473f89.tar.bz2
mtd: spi-nor-core: Check return value of write_disable() in spi_nor_erase()
The cleanup code of spi_nor_erase() function calls write_disable(), but does not return it's return value even in case of failure. Fix this. Signed-off-by: Marek BehĂșn <marek.behun@nic.cz> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
Diffstat (limited to 'include/spi_flash.h')
0 files changed, 0 insertions, 0 deletions