OSDN Git Service

mmc: core: Add retry mechanism for MMC resume failure
authorSahitya Tummala <stummala@codeaurora.org>
Tue, 9 Dec 2014 21:23:25 +0000 (23:23 +0200)
committerSubhash Jadavani <subhashj@codeaurora.org>
Tue, 31 May 2016 22:26:00 +0000 (15:26 -0700)
commitc6cc59c4358c423be099b5517319c5da5ef0f752
tree35533903b7e3fa468f3c8f94a62a411e019f1b99
parentc75b73aff388cd297fa0e85f89eb575acf16873c
mmc: core: Add retry mechanism for MMC resume failure

Enhance the error handling/recovery path during eMMC resume by
adding retry mechanism and by adding additional error messages
to failure cases. This may help some of the bad parts which fail
to resume sporadically.

Change-Id: I895068edb487e6a44205e0769342b2ec2c89c876
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
[merez@codeaurora.org: fix conflicts due to addition of __mmc_resume
in 3.14 and different bus speed implementation]
Signed-off-by: Maya Erez <merez@codeaurora.org>
[venkatg@codeaurora.org: Fix args for mmc_power_up and
mmc_select_voltage to use with 3.14 kernel]
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
[subhashj@codeaurora.org: fixed trivial merge conflicts]
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
drivers/mmc/core/mmc.c