mmc: dw_mmc: move data transfer as a separate function
authorhuang lin <hl@rock-chips.com>
Tue, 17 Nov 2015 06:20:21 +0000 (14:20 +0800)
committerSimon Glass <sjg@chromium.org>
Tue, 1 Dec 2015 15:07:22 +0000 (08:07 -0700)
commitf382eb833a06cf3d7cbf17603876a1fabca49144
tree6a4ed2d5b1c6d010474ae68652b06bf55605e3fd
parent49ecaa928fe8b3957b71fbe3b8718361f59cb88e
mmc: dw_mmc: move data transfer as a separate function

the data transfer seem to long in the dwmci_send_cmd function,
so move this block as a separate funciton.

Signed-off-by: Lin Huang <hl@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/mmc/dw_mmc.c