commit | 88ce4db313bca1e4e6ef3b448471f85d3e14a854 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Thu Feb 10 16:08:16 2011 +0100 |
committer | Chris Ball <cjb@laptop.org> | Tue Mar 15 13:49:05 2011 -0400 |
tree | 1d028208211c7dc7af14a79828494ade9c97cf5d | |
parent | 266ac3f297adb72fb6c34949a38337c6fad4c7a6 [diff] |
mmc: atmel-mci: conform to DMA-API Fixes the following: - It is perfectly legal for the dma_map_sg() to return fewer entries than were passed in. - Supply the returned numer of (possibly coalesced) entries to the device_pre_slave_sg() function. - Use the proper original sg_len when unmapping the sglist in the error path. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Chris Ball <cjb@laptop.org>