diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2013-03-22 12:50:05 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-03-22 12:50:05 -0400 |
commit | 3e4b0d8bdc6ddd68fdc1f4592822af2ae5cc2859 (patch) | |
tree | 2a6b44f788d9bcaa235a11db0332e9e263c049cc /drivers/mailbox | |
parent | 1fb5f68addde6d8b79dd7d747814aa1770e6cf21 (diff) | |
download | linux-3e4b0d8bdc6ddd68fdc1f4592822af2ae5cc2859.tar.gz linux-3e4b0d8bdc6ddd68fdc1f4592822af2ae5cc2859.tar.bz2 linux-3e4b0d8bdc6ddd68fdc1f4592822af2ae5cc2859.zip |
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 <markos.chandras@imgtec.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Acked-by: Seungwon Jeon <tgih.jun@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mailbox')
0 files changed, 0 insertions, 0 deletions