]> git.baikalelectronics.ru Git - uboot.git/commit
dm: spi: Add logging of some return values
authorSimon Glass <sjg@chromium.org>
Mon, 1 Oct 2018 18:22:24 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 9 Oct 2018 10:40:27 +0000 (04:40 -0600)
commit93e38bbcad4268d6266d201e1cd735aebdefa22d
tree1904eaa99bc48ca33ac63d8eb3b325d21c34902b
parenta5d567f6489f7e67a3a9680352e75655eab4c27a
dm: spi: Add logging of some return values

When SPI flash operations fail it is helpful to be able to see the error
codes and where they are generated. Add logging to capture this
information for read operations.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/mtd/spi/sf-uclass.c
drivers/mtd/spi/sf_probe.c
drivers/mtd/spi/spi_flash.c
drivers/spi/spi-uclass.c