]> git.karo-electronics.de Git - linux-beck.git/commit
mmc: tmio_mmc: unmap with the proper sglen
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 10 Feb 2011 15:10:47 +0000 (16:10 +0100)
committerChris Ball <cjb@laptop.org>
Tue, 15 Mar 2011 17:49:21 +0000 (13:49 -0400)
commitd7554caa2c3410c07a1889a08c66288edbdc216a
tree82777655fc7fccca49c155ceff320c75f6270814
parent2dc7ddc1e7e68ee7793dda0ca0d659367d035e3d
mmc: tmio_mmc: unmap with the proper sglen

According to the DMA-API you shall unmap the sglists with the same
sglist length as passed into the mapping function, not the
returned value from the mapping function.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/tmio_mmc.c