Skip to content

Commit ac48653

Browse files
roger-tttsengcjb
authored andcommitted
mmc: rtsx: remove driving adjustment
Several new models of readers use different way to select driving capability (a necessary adjustment along with voltage change). Removing this from device-independent rtsx_pci_sdmmc module. It will be implemented in device-depend calls encapsulated by rtsx_pci_switch_output_voltage(). Signed-off-by: Roger Tseng <[email protected]> Reviewed-by: Wei WANG <[email protected]> Signed-off-by: Chris Ball <[email protected]>
1 parent 5f56a8e commit ac48653

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/mmc/host/rtsx_pci_sdmmc.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,11 +1083,6 @@ static int sdmmc_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios)
10831083
voltage = OUTPUT_1V8;
10841084

10851085
if (voltage == OUTPUT_1V8) {
1086-
err = rtsx_pci_write_register(pcr,
1087-
SD30_DRIVE_SEL, 0x07, DRIVER_TYPE_B);
1088-
if (err < 0)
1089-
goto out;
1090-
10911086
err = sd_wait_voltage_stable_1(host);
10921087
if (err < 0)
10931088
goto out;

0 commit comments

Comments
 (0)