commit | a99aa9b9b4f4f3e496d17a1b4e0ff63fb0c9f31d | [log] [tgz] |
---|---|---|
author | Seungwon Jeon <tgih.jun@samsung.com> | Tue Apr 10 09:53:32 2012 +0900 |
committer | Chris Ball <cjb@laptop.org> | Fri Apr 20 20:30:37 2012 -0400 |
tree | d3d7bb12cbabce20789671d07055e305b8138c1a | |
parent | 32d317c60e56c2a34463b51fc0336cc96b3e1735 [diff] |
mmc: dw_mmc: Fix switch from DMA to PIO When dw_mci_pre_dma_transfer returns failure in some reasons, dw_mci_submit_data will prepare to switch the PIO mode from DMA. After switching to PIO mode, DMA(IDMAC in particular) is still enabled. This makes the corruption in handling interrupt and the driver lock-up. Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com> Acked-by: Will Newton <will.newton@imgtec.com> Signed-off-by: Chris Ball <cjb@laptop.org>