From: Piotr Król <[email protected]> Make log information clear where it came from and return correct code to be interpreted by caller.
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Piotr Król <[email protected]> Signed-off-by: Marcin Wojtas <[email protected]> --- Platform/Marvell/Drivers/Spi/MvSpiDxe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Platform/Marvell/Drivers/Spi/MvSpiDxe.c b/Platform/Marvell/Drivers/Spi/MvSpiDxe.c index aab20fc..0872f61 100755 --- a/Platform/Marvell/Drivers/Spi/MvSpiDxe.c +++ b/Platform/Marvell/Drivers/Spi/MvSpiDxe.c @@ -240,7 +240,8 @@ MvSpiTransfer ( } if (Iterator >= SPI_TIMEOUT) { - DEBUG ((DEBUG_ERROR, "Timeout\n")); + DEBUG ((DEBUG_ERROR, "EfiSpiTransfer: Timeout\n")); + return EFI_TIMEOUT; } } -- 1.8.3.1 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

