Commit 58f4fe2
mtd: spi-nor: macronix: Fix readid protocol at octal dtr disable
nor->proto is not updated yet after disable, thus we should explicitly
use SNOR_PROTO_1_1_1. This fixes the following error:
dma dma0chan8: read bus error!!!
What happened is that we used octal DTR proto for reading, the flash
rejected the opcode, and DMA waited indefinitly. Fixing the protocol
solves the issue.
Fixes: 1856631 ("mtd: spi-nor: macronix: Add support for mx66lm1g45g")
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Tested-by: Claudiu Beznea <claudiu.beznea@microchip.com>1 parent 637552b commit 58f4fe2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
0 commit comments