diff mbox

[Raring,3/3] mmc: rtsx: remove driving adjustment

Message ID 1363241449-14308-3-git-send-email-adam.lee@canonical.com
State New
Headers show

Commit Message

Adam Lee March 14, 2013, 6:10 a.m. UTC
From: Roger Tseng <rogerable@realtek.com>

BugLink: https://launchpad.net/bugs/1153618

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>
(cherry picked from commit ac48653cec7dd9a5606a7057413a880d6880d5d3)
Signed-off-by: Adam Lee <adam.lee@canonical.com>
---
 drivers/mmc/host/rtsx_pci_sdmmc.c |    5 -----
 1 file changed, 5 deletions(-)
diff mbox

Patch

diff --git a/drivers/mmc/host/rtsx_pci_sdmmc.c b/drivers/mmc/host/rtsx_pci_sdmmc.c
index 468c923..f981f7d 100644
--- a/drivers/mmc/host/rtsx_pci_sdmmc.c
+++ b/drivers/mmc/host/rtsx_pci_sdmmc.c
@@ -1097,11 +1097,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;