mmc: rtsx: add helper function to simplify code
authorMicky Ching <micky_ching@realsil.com.cn>
Tue, 23 Dec 2014 01:19:44 +0000 (09:19 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 19 Jan 2015 08:56:19 +0000 (09:56 +0100)
commit2d48e5f1bed329b4aaff661d98a3429b15a32aab
tree35055a1bfcf9b6b3bb983b6f0c4e365637dbbfa6
parent2057647f0c8b84d7392469214bfcb5baf2e74498
mmc: rtsx: add helper function to simplify code

To support sdio card, transfer mode need make a change,
this need to split code and use it in different place,
Add new function to simplify repeat operation.

Signed-off-by: Micky Ching <micky_ching@realsil.com.cn>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/rtsx_pci_sdmmc.c