mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 18:12:48 +00:00
I thought the read-back of the DMA_ENABLE register was unnecessary (at least it is working on my boards), then deleted it in commit586a2c5290("mtd: nand: denali: squash denali_enable_dma() helper into caller"). Sorry, I was wrong - it caused a timing issue on Cyclone5 SoCFPGAs. Revive the register read-back, commenting why this is necessary. Fixes:586a2c5290("mtd: nand: denali: squash denali_enable_dma() helper into caller") Cc: <[email protected]> Reported-by: Steffen Trumtrar <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]> Reviewed-by: Miquel Raynal <[email protected]> Signed-off-by: Boris Brezillon <[email protected]>