|
@@ -1083,11 +1083,6 @@ static int sdmmc_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios)
|
|
voltage = OUTPUT_1V8;
|
|
voltage = OUTPUT_1V8;
|
|
|
|
|
|
if (voltage == OUTPUT_1V8) {
|
|
if (voltage == OUTPUT_1V8) {
|
|
- err = rtsx_pci_write_register(pcr,
|
|
|
|
- SD30_DRIVE_SEL, 0x07, DRIVER_TYPE_B);
|
|
|
|
- if (err < 0)
|
|
|
|
- goto out;
|
|
|
|
-
|
|
|
|
err = sd_wait_voltage_stable_1(host);
|
|
err = sd_wait_voltage_stable_1(host);
|
|
if (err < 0)
|
|
if (err < 0)
|
|
goto out;
|
|
goto out;
|