diff options
author | Seungwon Jeon <tgih.jun@samsung.com> | 2013-08-30 11:14:38 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-09-25 21:36:34 -0400 |
commit | aa50f259d65603f40a82ef0d256a6a954a3db283 (patch) | |
tree | 01d5aceba3be7d6ffcc50f3f52cb6071b3809c2d /drivers/mmc/core/mmc_ops.c | |
parent | 5ce9d96177908e288bf64449a3b7b7159940050b (diff) |
mmc: dw_mmc: fix the transfer termination in IDMAC mode
In IDMAC mode EVENT_XFER_COMPLETE is set when RI/TI of last descriptor
is done. So if errors are happened in the middle of data transfers,
'dw_mci_stop_dma' during error handing can be called and eventually
prevents this flag to be set. This results in permanent wait for
EVENT_XFER_COMPLETE in 'dw_mci_tasklet_func'. Therefore, if dma
running is stopped forcibly, EVENT_XFER_COMPLETE should be set.
Reported-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Tested-by: Alim Akhtar <alim.akhtar@samsung.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/core/mmc_ops.c')
0 files changed, 0 insertions, 0 deletions