]> git.baikalelectronics.ru Git - kernel.git/commit
spi: atmel-quadspi: Disable the QSPI IP at suspend()
authorTudor Ambarus <tudor.ambarus@microchip.com>
Wed, 10 Feb 2021 13:54:28 +0000 (15:54 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 11 Feb 2021 13:15:12 +0000 (13:15 +0000)
commitfbc1889f0cc581f18f5aebbd05526b7d3b462c11
treeed5a27f856961b80ad96633c0a67d27a1db5b82b
parente5a672cd08ccdb31613e50079b15a45c0773b48e
spi: atmel-quadspi: Disable the QSPI IP at suspend()

It is safer to disable the QSPI IP at suspend, in order to avoid
possible impact of glitches on the internal FSMs. This is a theoretical
fix, there were no problems seen as of now. Tested on sama5d2 and
sam9x60 versions of the IP.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20210210135428.204134-1-tudor.ambarus@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/atmel-quadspi.c