commit | 9d2fc80fb15b99736ecd1895934ce4512e76fa3f | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Fri Apr 25 12:59:00 2014 +0100 |
committer | Chris Ball <chris@printf.net> | Thu May 22 07:26:32 2014 -0400 |
tree | a4d3d16bb8b27dca5d06cd1f7cf136a00caf8132 | |
parent | 1771059cf5f9c09e37ef6315df8acf120f2642fc [diff] |
mmc: sdhci-esdhc-imx: avoid DMA to kernel stack sdhci-esdhc-imx tries to DMA to the kernel stack when tuning the interface, which causes dma-debug to complain. Fix this by kmallocing a buffer to hold the received tuning pattern. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Tested-by: Markus Pargmann <mpa@pengutronix.de> Tested-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Chris Ball <chris@printf.net>