]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spi: atmel-quadspi: Fix QSPI_RD reg name on verbose debug
authorTudor Ambarus <tudor.ambarus@microchip.com>
Wed, 3 Nov 2021 16:45:42 +0000 (18:45 +0200)
committerEugen Hristev <eugen.hristev@microchip.com>
Tue, 23 Nov 2021 07:36:29 +0000 (09:36 +0200)
It was wrongly set to "MR", fix it.

Fixes: 52e2565bfb ("spi: atmel-quadspi: Add verbose debug facilities to monitor register accesses")
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
drivers/spi/atmel-quadspi.c

index b1a3aa9a297397fc519834281e472af41ad44073..c8a68e64477cdaa3018d81f93479e41048b96f7f 100644 (file)
@@ -180,7 +180,7 @@ static const char *atmel_qspi_reg_name(u32 offset, char *tmp, size_t sz)
        case QSPI_MR:
                return "MR";
        case QSPI_RD:
-               return "MR";
+               return "RD";
        case QSPI_TD:
                return "TD";
        case QSPI_SR: