VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Tudor Ambarus <tudor.ambarus@microchip.com> 2021-02-10 15:54:28 +0200 committer: Mark Brown <broonie@kernel.org> 2021-02-11 13:15:12 +0000 commit: df6978b7ea6349eb32078c42b917559f5510aebd parent: 58898fd82c67350f5be2fc4f22bc9517d66b1115
Commit Summary:
spi: atmel-quadspi: Disable the QSPI IP at suspend()
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/drivers/spi/atmel-quadspi.c b/drivers/spi/atmel-quadspi.c
index 10bc5390ab91..95d4fa32c299 100644
--- a/drivers/spi/atmel-quadspi.c
+++ b/drivers/spi/atmel-quadspi.c
@@ -657,6 +657,7 @@ static int __maybe_unused atmel_qspi_suspend(struct device *dev)
 	struct spi_controller *ctrl = dev_get_drvdata(dev);
 	struct atmel_qspi *aq = spi_controller_get_devdata(ctrl);
 
+	atmel_qspi_write(QSPI_CR_QSPIDIS, aq, QSPI_CR);
 	clk_disable_unprepare(aq->qspick);
 	clk_disable_unprepare(aq->pclk);