Wolfram Sang 5f07ef8f60 mmc: tmio: always unmap DMA before waiting for interrupt
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 have a leak. Reorder the code, so unmapping will always
take place.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2017-04-24 21:41:40 +02:00
..
2017-04-19 14:15:45 -06:00
2017-02-23 15:57:04 -08:00
2017-04-17 11:04:12 -07:00
2017-03-24 13:34:16 -07:00
2017-03-06 08:37:53 -08:00
2017-02-21 11:51:42 -08:00
2017-03-26 11:15:54 -07:00
2017-02-22 19:23:14 -08:00
2017-03-13 13:23:43 -07:00
2017-03-20 16:25:06 +01:00
2017-02-20 17:23:57 -08:00
2017-03-02 13:53:13 -08:00
2017-04-15 09:42:14 -07:00
2017-03-24 14:39:36 -07:00
2017-02-23 11:53:22 -08:00