|
@@ -1397,7 +1397,7 @@ int __mmc_set_signal_voltage(struct mmc_host *host, int signal_voltage)
|
|
|
|
|
|
}
|
|
|
|
|
|
-int mmc_set_signal_voltage(struct mmc_host *host, int signal_voltage)
|
|
|
+int mmc_set_signal_voltage(struct mmc_host *host, int signal_voltage, u32 ocr)
|
|
|
{
|
|
|
struct mmc_command cmd = {0};
|
|
|
int err = 0;
|
|
@@ -1479,7 +1479,7 @@ power_cycle:
|
|
|
if (err) {
|
|
|
pr_debug("%s: Signal voltage switch failed, "
|
|
|
"power cycling card\n", mmc_hostname(host));
|
|
|
- mmc_power_cycle(host, host->ocr);
|
|
|
+ mmc_power_cycle(host, ocr);
|
|
|
}
|
|
|
|
|
|
mmc_host_clk_release(host);
|