Commit aefbe8d
committed
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 1fdaf87 commit aefbe8d
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
888 | 888 | | |
889 | 889 | | |
890 | 890 | | |
891 | | - | |
| 891 | + | |
892 | 892 | | |
893 | 893 | | |
894 | 894 | | |
| |||
906 | 906 | | |
907 | 907 | | |
908 | 908 | | |
909 | | - | |
| 909 | + | |
910 | 910 | | |
911 | 911 | | |
912 | 912 | | |
| |||
0 commit comments