]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
mmc: dw_mmc: Stop bounce buffer even in case of failure
authorMarek Vasut <marex@denx.de>
Mon, 27 Jul 2015 20:39:36 +0000 (22:39 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:40 +0000 (08:17 +0200)
commit3d19b84c9028471c002c4e026c8ceb0ba7e4b4de
tree6bf4f3114c622b6db48b7bd6d3c319e8353adb95
parentdd3d7aa94f4150d6ab1281fd1a4e91df5242b5e5
mmc: dw_mmc: Stop bounce buffer even in case of failure

The driver didn't stop the bounce buffer in case a data transfer
failed. This would lead to memory leakage if the communication
between the CPU and the card is unreliable. Add the missing call
to stop the bounce buffer.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Cc: Tom Rini <trini@konsulko.com>
drivers/mmc/dw_mmc.c