linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] spi: atmel-quadspi: fix resume call
@ 2019-06-28 15:30 Tudor.Ambarus
  2019-06-28 15:30 ` [PATCH 1/2] spi: atmel-quadspi: void return type for atmel_qspi_init() Tudor.Ambarus
  2019-06-28 15:30 ` [PATCH 2/2] spi: atmel-quadspi: fix resume call Tudor.Ambarus
  0 siblings, 2 replies; 5+ messages in thread
From: Tudor.Ambarus @ 2019-06-28 15:30 UTC (permalink / raw)
  To: broonie, mdeneen
  Cc: alexandre.belloni, Tudor.Ambarus, linux-spi, Ludovic.Desroches,
	Claudiu.Beznea, linux-arm-kernel

From: Tudor Ambarus <tudor.ambarus@microchip.com>

When waking up from the Suspend-to-RAM state, the following error
was seen:

m25p80 spi2.0: flash operation timed out

The flash remained in an undefined state, returning 0xFFs.
Fix it by setting the Serial Clock Baud Rate, as it was set
before the conversion to SPIMEM.

Tested with sama5d2_xplained and mx25l25673g spi-nor in
Backup + Self-Refresh and Suspend modes.

Tudor Ambarus (2):
  spi: atmel-quadspi: void return type for atmel_qspi_init()
  spi: atmel-quadspi: fix resume call

 drivers/spi/atmel-quadspi.c | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

-- 
2.9.5

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-07-02 13:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-28 15:30 [PATCH 0/2] spi: atmel-quadspi: fix resume call Tudor.Ambarus
2019-06-28 15:30 ` [PATCH 1/2] spi: atmel-quadspi: void return type for atmel_qspi_init() Tudor.Ambarus
2019-07-02 13:04   ` Applied "spi: atmel-quadspi: void return type for atmel_qspi_init()" to the spi tree Mark Brown
2019-06-28 15:30 ` [PATCH 2/2] spi: atmel-quadspi: fix resume call Tudor.Ambarus
2019-07-02 13:04   ` Applied "spi: atmel-quadspi: fix resume call" to the spi tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).