summaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2013-03-22 12:50:05 -0400
committerChris Ball <cjb@laptop.org>2013-03-22 12:50:05 -0400
commit3e4b0d8bdc6ddd68fdc1f4592822af2ae5cc2859 (patch)
tree2a6b44f788d9bcaa235a11db0332e9e263c049cc /drivers/hid
parent1fb5f68addde6d8b79dd7d747814aa1770e6cf21 (diff)
downloadlinux-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/hid')
0 files changed, 0 insertions, 0 deletions