Re: [RFC] mmc: tmio: always unmap DMA before waiting for interrupt

2017-03-21 Thread Ulf Hansson
On 16 March 2017 at 11:56, Wolfram Sang wrote: > In the (maybe academical) case, we don't get a DATAEND interrupt after > DMA completed, we will wait endlessly for the completion to complete. > This is not bad per se, since we have a more generic completion

[RFC] mmc: tmio: always unmap DMA before waiting for interrupt

2017-03-16 Thread Wolfram Sang
In the (maybe academical) case, we don't get a DATAEND interrupt after DMA completed, we will wait endlessly for the completion to complete. This is not bad per se, since we have a more generic completion tracking a timeout. In that rare case, however, the DMA buffer will not get unmapped and we