[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240926090356.105789-1-ada@thorsis.com>
Date: Thu, 26 Sep 2024 11:03:56 +0200
From: Alexander Dahl <ada@...rsis.com>
To: Mark Brown <broonie@...nel.org>
Cc: Nicolas Ferre <nicolas.ferre@...rochip.com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Claudiu Beznea <claudiu.beznea@...on.dev>,
linux-spi@...r.kernel.org (open list:SPI SUBSYSTEM),
linux-arm-kernel@...ts.infradead.org (moderated list:ARM/Microchip (AT91) SoC support),
linux-kernel@...r.kernel.org (open list)
Subject: [PATCH] spi: atmel-quadspi: Fix wrong register value written to MR
aq->mr should go to MR, nothing else.
Fixes: 329ca3eed4a9 ("spi: atmel-quadspi: Avoid overwriting delay register settings")
Signed-off-by: Alexander Dahl <ada@...rsis.com>
Link: https://lore.kernel.org/linux-spi/20240926-macarena-wincing-7c4995487a29@thorsis.com/T/#u
---
Notes:
based on today's master
drivers/spi/atmel-quadspi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/atmel-quadspi.c b/drivers/spi/atmel-quadspi.c
index 4f288f07e38f..95cdfc28361e 100644
--- a/drivers/spi/atmel-quadspi.c
+++ b/drivers/spi/atmel-quadspi.c
@@ -377,7 +377,7 @@ static int atmel_qspi_set_cfg(struct atmel_qspi *aq,
*/
if (!(aq->mr & QSPI_MR_SMM)) {
aq->mr |= QSPI_MR_SMM;
- atmel_qspi_write(aq->scr, aq, QSPI_MR);
+ atmel_qspi_write(aq->mr, aq, QSPI_MR);
}
/* Clear pending interrupts */
base-commit: 11a299a7933e03c83818b431e6a1c53ad387423d
--
2.39.5
Powered by blists - more mailing lists