mirror of https://gitee.com/openkylin/linux.git
051913dada
In the write recovery routine, the data to get from the card is allocated from the stack. The DMA mapping documentation says explicitly stack memory is not mappable by any of the DMA calls. Change to using kmalloc() to allocate the memory for the result from the card and then free it once we've finished with the transaction. [ Changed to GFP_KERNEL allocation - Pierre Ossman ] Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Pierre Ossman <pierre@ossman.eu> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
block.c | ||
mmc_test.c | ||
queue.c | ||
queue.h | ||
sdio_uart.c |