summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/rtsx_pci_sdmmc.c
diff options
context:
space:
mode:
authorRoger Tseng <rogerable@realtek.com>2013-02-04 08:45:57 +0100
committerChris Ball <cjb@laptop.org>2013-02-24 20:37:15 +0100
commitac48653cec7dd9a5606a7057413a880d6880d5d3 (patch)
treea6afd131cfd95d4ef7c0f2eea8de158d27d2933e /drivers/mmc/host/rtsx_pci_sdmmc.c
parentmmc: use regulator_can_change_voltage() instead of regulator_count_voltages (diff)
downloadlinux-ac48653cec7dd9a5606a7057413a880d6880d5d3.tar.xz
linux-ac48653cec7dd9a5606a7057413a880d6880d5d3.zip
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 <rogerable@realtek.com> Reviewed-by: Wei WANG <wei_wang@realsil.com.cn> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/rtsx_pci_sdmmc.c')
-rw-r--r--drivers/mmc/host/rtsx_pci_sdmmc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mmc/host/rtsx_pci_sdmmc.c b/drivers/mmc/host/rtsx_pci_sdmmc.c
index f74b5adca642..f93f100e81e5 100644
--- a/drivers/mmc/host/rtsx_pci_sdmmc.c
+++ b/drivers/mmc/host/rtsx_pci_sdmmc.c
@@ -1083,11 +1083,6 @@ static int sdmmc_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios)
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);
if (err < 0)
goto out;