Loading drivers/mmc/core/core.c +10 −2 Original line number Diff line number Diff line Loading @@ -2968,8 +2968,16 @@ int mmc_set_signal_voltage(struct mmc_host *host, int signal_voltage, u32 ocr) */ mmc_host_clk_hold(host); err = mmc_wait_for_cmd(host, &cmd, 0); if (err) if (err) { if (err == -ETIMEDOUT) { pr_debug("%s: voltage switching failed with err %d\n", mmc_hostname(host), err); err = -EAGAIN; goto power_cycle; } else { goto err_command; } } if (!mmc_host_is_spi(host) && (cmd.resp[0] & R1_ERROR)) { err = -EIO; Loading Loading
drivers/mmc/core/core.c +10 −2 Original line number Diff line number Diff line Loading @@ -2968,8 +2968,16 @@ int mmc_set_signal_voltage(struct mmc_host *host, int signal_voltage, u32 ocr) */ mmc_host_clk_hold(host); err = mmc_wait_for_cmd(host, &cmd, 0); if (err) if (err) { if (err == -ETIMEDOUT) { pr_debug("%s: voltage switching failed with err %d\n", mmc_hostname(host), err); err = -EAGAIN; goto power_cycle; } else { goto err_command; } } if (!mmc_host_is_spi(host) && (cmd.resp[0] & R1_ERROR)) { err = -EIO; Loading