Re: [PATCH 14/14] mmc: dw_mmc: fix the transfer termination in IDMAC mode

2013-08-23 Thread Jaehoon Chung
Acked-by: Jaehoon Chung On 08/21/2013 10:51 PM, Seungwon Jeon wrote: > 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

[PATCH 14/14] mmc: dw_mmc: fix the transfer termination in IDMAC mode

2013-08-21 Thread Seungwon Jeon
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_