From 3e4b0d8bdc6ddd68fdc1f4592822af2ae5cc2859 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Fri, 22 Mar 2013 12:50:05 -0400 Subject: [PATCH] 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-format-patch failed