mmc: retry the cmd8 to meet 74 clocks requirement in the spec
authorLei Wen <leiwen@marvell.com>
Fri, 2 Sep 2011 17:34:17 +0000 (17:34 +0000)
committerAndy Fleming <afleming@freescale.com>
Thu, 3 Nov 2011 07:14:58 +0000 (02:14 -0500)
commit02f3029f1810b99869254d0cf0a71946a008a728
treeed0ad1fdeea21936fda8ae02b6bac552ad0c3df7
parent07133f2e7b671866bcf91ef6926c187c392c7aa1
mmc: retry the cmd8 to meet 74 clocks requirement in the spec

For some controller it has dynamic clock gating, and only toggle out clk
when the first cmd0 send out, while some card strictly obey the 74
clocks rule, the interval may not be sufficient between the cmd0 and
this cmd8, retry to fulfil the clock requirement.

Signed-off-by: Lei Wen <leiwen@marvell.com>
Tested-by: Marek Vasut <marek.vasut@gmail.com>
drivers/mmc/mmc.c