diff options
author | Jaehoon Chung <[email protected]> | 2016-11-21 10:51:48 +0900 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2016-11-21 11:08:28 +0100 |
commit | 647f80a1f233bb66fc58fb25664d029e0f12f3ae (patch) | |
tree | 01cf3ff978557f6eab79ce9c3524989cf04b54ca /lib/mpi/mpi-pow.c | |
parent | b0921d5c9ed6ffa8a4d6afc5ee5f136b87445f14 (diff) |
mmc: dw_mmc: fix the error handling for dma operation
When dma->start is failed,then it has to fall back to PIO mode
for current transfer.
But Host controller was already set to bits relevant to DMA operation.
If needs to use the PIO mode, Host controller has to stop the DMA
operation. (It's more stable than now.)
When it occurred error, it's not running any request.
Fixes: 3fc7eaef44db ("mmc: dw_mmc: Add external dma interface support")
Reported-by: Marek Szyprowski <[email protected]>
Signed-off-by: Jaehoon Chung <[email protected]>
Reviewed-by: Shawn Lin <[email protected]>
Cc: <[email protected]> # v4.3+
Signed-off-by: Jaehoon Chung <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions