|
@@ -1989,6 +1989,7 @@ static int sdhci_execute_tuning(struct mmc_host *mmc, u32 opcode)
|
|
if (!tuning_loop_counter || !timeout) {
|
|
if (!tuning_loop_counter || !timeout) {
|
|
ctrl &= ~SDHCI_CTRL_TUNED_CLK;
|
|
ctrl &= ~SDHCI_CTRL_TUNED_CLK;
|
|
sdhci_writew(host, ctrl, SDHCI_HOST_CONTROL2);
|
|
sdhci_writew(host, ctrl, SDHCI_HOST_CONTROL2);
|
|
|
|
+ err = -EIO;
|
|
} else {
|
|
} else {
|
|
if (!(ctrl & SDHCI_CTRL_TUNED_CLK)) {
|
|
if (!(ctrl & SDHCI_CTRL_TUNED_CLK)) {
|
|
pr_info(DRIVER_NAME ": Tuning procedure"
|
|
pr_info(DRIVER_NAME ": Tuning procedure"
|