mmc: sdio: Factor out retry init card helper function
authorShawn Lin <shawn.lin@rock-chips.com>
Mon, 9 Jan 2017 08:56:19 +0000 (16:56 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Feb 2017 12:20:12 +0000 (13:20 +0100)
commit0eb51a58ad823b2081c69ec1cf165833dd11c450
tree1abb0dd9d68033030f2d3a2c784fcac3ecc17f18
parent63928d4789ebb3f7d35d9261089b3bcc98ae0632
mmc: sdio: Factor out retry init card helper function

Add new helper function, mmc_sdio_resend_if_cond, to be
reused when trying to retry the init sequence.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/sdio.c