err = mmc_execute_tuning(mmc,
mwt->tuning);
if (err) {
- pr_debug("tuning failed\n");
+ pr_debug("tuning failed : %d\n", err);
goto error;
}
}
}
}
- pr_err("unable to select a mode\n");
+ pr_err("unable to select a mode : %d\n", err);
return -ENOTSUPP;
}
int ret = regulator_set_enable(mmc->vmmc_supply, true);
if (ret) {
- puts("Error enabling VMMC supply\n");
+ printf("Error enabling VMMC supply : %d\n", ret);
return ret;
}
}
int ret = regulator_set_enable(mmc->vmmc_supply, false);
if (ret) {
- pr_debug("Error disabling VMMC supply\n");
+ pr_debug("Error disabling VMMC supply : %d\n", ret);
return ret;
}
}
if (err) {
#if !defined(CONFIG_SPL_BUILD) || defined(CONFIG_SPL_LIBCOMMON_SUPPORT)
- pr_err("Card did not respond to voltage select!\n");
+ pr_err("Card did not respond to voltage select! : %d\n", err);
#endif
return -EOPNOTSUPP;
}