]> git.dujemihanovic.xyz Git - u-boot.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)
commit5e24a2ef8bf4f09b18cf4e943c73bfdd169a7581
tree1904eaa99bc48ca33ac63d8eb3b325d21c34902b
parent42116f644b33d4c9e7b495ec87612aa922452453
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