From: Markos Chandras Date: Fri, 22 Mar 2013 16:50:05 +0000 (-0400) Subject: mmc: dw_mmc: Avoid adding the number of transmitted bytes twice X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~41^2~40 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e4b0d8bdc6ddd68fdc1f4592822af2ae5cc2859;p=pandora-kernel.git mmc: dw_mmc: Avoid adding the number of transmitted bytes twice Previously, it was possible to add either 0 bytes or add nbytes twice if we broke out of the outer loop and then carry on to the "done" label. This is now fixed by adding the transferred bytes right after the pull/pop operation Signed-off-by: Markos Chandras Acked-by: Jaehoon Chung Acked-by: Seungwon Jeon Signed-off-by: Chris Ball --- Reading git-diff-tree failed