u-boot-brain/drivers/mtd/spi
Simon Glass 0badb23d11 spi: Correct two error return values
When an error number is provided we should use it, not change it. This fixes
the SPI and SPI flash tests.

One of these is long-standing. The other seems to have been introduced by
commit 1e90d9fd (sf: Move read_id code to sf_ops).

Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: 1e90d9fd (sf: Move read_id code to sf_ops)
Reviewed-by: Jagan Teki <jteki@openedev.com>
Tested-by: Jagan Teki <jteki@openedev.com>
2016-02-26 08:53:10 -07:00
..
fsl_espi_spl.c driver: Add support of image load for MMC & SPI in SPL 2014-04-22 17:58:50 -07:00
Kconfig sf: Make 4K sector support configurable 2015-08-17 15:59:48 +05:30
Makefile sf: Rename sf_ops.c to spi-flash.c 2015-12-11 22:12:24 +05:30
sandbox.c sandbox: spi: Remove an incorrect free() 2016-02-26 08:53:10 -07:00
sf_dataflash.c dm: Rename dev_get_parentdata() to dev_get_parent_priv() 2015-10-23 09:42:28 -06:00
sf_internal.h sf: Make IO modes at last in read modes 2016-01-13 18:47:27 +05:30
sf_mtd.c mtd, spi: Add MTD layer driver 2015-06-30 00:40:11 +05:30
sf_params.c sf: params: Add IS25LP128 part support 2015-10-25 20:17:03 +05:30
sf_probe.c spi: Correct two error return values 2016-02-26 08:53:10 -07:00
sf-uclass.c dm: spi_flash: Allow the uclass to work without printf() 2016-01-15 05:39:27 -07:00
sf.c sf: Add CONFIG_SF_DUAL_FLASH 2014-01-12 21:40:22 +05:30
spi_flash.c spi: Correct two error return values 2016-02-26 08:53:10 -07:00
spi_spl_load.c spl: change return values of spl_*_load_image() 2015-11-18 14:50:02 -05:00