Commit 5263a02e8b5034dfe962ed2ce9892a617bac8583
Committed by
Scott Wood
1 parent
662e2acb46
Exists in
v2017.01-smarct4x
and in
37 other branches
mtd: nand: mxs: fix PIO_WORDs in mxs_nand_read_buf()
There is only one pio_word in this DMA transaction so data field must be 1. Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/mtd/nand/mxs_nand.c
... | ... | @@ -453,7 +453,7 @@ |
453 | 453 | d->cmd.data = |
454 | 454 | MXS_DMA_DESC_COMMAND_NO_DMAXFER | MXS_DMA_DESC_IRQ | |
455 | 455 | MXS_DMA_DESC_NAND_WAIT_4_READY | MXS_DMA_DESC_DEC_SEM | |
456 | - MXS_DMA_DESC_WAIT4END | (4 << MXS_DMA_DESC_PIO_WORDS_OFFSET); | |
456 | + MXS_DMA_DESC_WAIT4END | (1 << MXS_DMA_DESC_PIO_WORDS_OFFSET); | |
457 | 457 | |
458 | 458 | d->cmd.address = 0; |
459 | 459 |