diff options
| author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2017-03-16 13:56:02 +0300 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-04-24 22:41:40 +0300 |
| commit | 5f07ef8f603ace496ca8c20eef446c5ae7a10474 (patch) | |
| tree | 23050122fff121588a4ca73a4bc7ca6e7259d0b0 /include/linux/moduleloader.h | |
| parent | 48d685a2ec2bc5852cf117b558dce9e90da36601 (diff) | |
| download | linux-5f07ef8f603ace496ca8c20eef446c5ae7a10474.tar.xz | |
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>
Diffstat (limited to 'include/linux/moduleloader.h')
0 files changed, 0 insertions, 0 deletions
