304decdd31
In spi_flash_scan, 'ret' is initialled to -1, but 'ret' is not always used to store a return value, in that case, even when the function succeed, an error (-1) will be returned. Lets just return 0 if we hit the end of the function. Signed-off-by: Fabien Parent <fparent@baylibre.com> Reviewed-by: Jagan Teki <jagan@openedev.com> |
||
---|---|---|
.. | ||
fsl_espi_spl.c | ||
Kconfig | ||
Makefile | ||
sandbox.c | ||
sf_dataflash.c | ||
sf_internal.h | ||
sf_mtd.c | ||
sf_probe.c | ||
sf-uclass.c | ||
sf.c | ||
spi_flash_ids.c | ||
spi_flash.c | ||
sunxi_spi_spl.c |