mbox series

[0/2] spi: atmel-quadspi: fix resume call

Message ID 20190628153009.7571-1-tudor.ambarus@microchip.com (mailing list archive)
Headers show
Series spi: atmel-quadspi: fix resume call | expand

Message

Tudor Ambarus June 28, 2019, 3:30 p.m. UTC
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(-)