mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-04 04:04:19 +00:00
spi: atmel-quadspi: Fix wrong register value written to MR
aq->mr should go to MR, nothing else.
Fixes: 329ca3eed4
("spi: atmel-quadspi: Avoid overwriting delay register settings")
Signed-off-by: Alexander Dahl <ada@thorsis.com>
Link: https://lore.kernel.org/linux-spi/20240926-macarena-wincing-7c4995487a29@thorsis.com/T/#u
Link: https://patch.msgid.link/20240926090356.105789-1-ada@thorsis.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
9852d85ec9
commit
162d9b5d23
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user