Commit 1a6273c
spi: atmel-quadspi: Fix suspend
At suspend the mx flash tries to disable the octal DTR mode, thus it
issues a ReadID which does not contain any address bytes. mmiocpy is used
and the same bus error is hit.
Unhandled fault: external abort on non-linefetch (0x1008) at 0xe1000000
Use DMA also for ReadID opcode, and avoid mmiocpy.
Fixes: 1fdaf87 ("spi: atmel-quadspi: (workaround) Always use DMA on sama7g5")
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Tested-by: Claudiu Beznea <claudiu.beznea@microchip.com>1 parent 35c17f0 commit 1a6273c
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
885 | 885 | | |
886 | 886 | | |
887 | 887 | | |
888 | | - | |
| 888 | + | |
889 | 889 | | |
890 | 890 | | |
891 | 891 | | |
| |||
903 | 903 | | |
904 | 904 | | |
905 | 905 | | |
906 | | - | |
| 906 | + | |
907 | 907 | | |
908 | 908 | | |
909 | 909 | | |
| |||
0 commit comments