|
@@ -1162,7 +1162,6 @@ bus_speed:
|
|
|
static int mmc_hs200_tuning(struct mmc_card *card)
|
|
|
{
|
|
|
struct mmc_host *host = card->host;
|
|
|
- int err = 0;
|
|
|
|
|
|
/*
|
|
|
* Timing should be adjusted to the HS400 target
|
|
@@ -1173,18 +1172,7 @@ static int mmc_hs200_tuning(struct mmc_card *card)
|
|
|
if (host->ops->prepare_hs400_tuning)
|
|
|
host->ops->prepare_hs400_tuning(host, &host->ios);
|
|
|
|
|
|
- if (host->ops->execute_tuning) {
|
|
|
- mmc_host_clk_hold(host);
|
|
|
- err = host->ops->execute_tuning(host,
|
|
|
- MMC_SEND_TUNING_BLOCK_HS200);
|
|
|
- mmc_host_clk_release(host);
|
|
|
-
|
|
|
- if (err)
|
|
|
- pr_err("%s: tuning execution failed\n",
|
|
|
- mmc_hostname(host));
|
|
|
- }
|
|
|
-
|
|
|
- return err;
|
|
|
+ return mmc_execute_tuning(card);
|
|
|
}
|
|
|
|
|
|
/*
|