Skip to content

Commit 67fb231

Browse files
Andy3Kuoasus-leslieyu
authored andcommitted
Revert "HACK: switch vccio_sd to 3.3v while shutdowning"
This reverts commit be2cc1e. Change-Id: I5981c12bd81cfd30f885b0b26645af402df8b09f
1 parent f69e1ee commit 67fb231

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

drivers/mmc/host/dw_mmc-rockchip.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include <linux/mmc/host.h>
1414
#include <linux/mmc/dw_mmc.h>
1515
#include <linux/of_address.h>
16-
#include <linux/regulator/consumer.h>
1716
#include <linux/slab.h>
1817

1918
#include "dw_mmc.h"
@@ -290,15 +289,6 @@ static int dw_mci_rockchip_probe(struct platform_device *pdev)
290289
return dw_mci_pltfm_register(pdev, drv_data);
291290
}
292291

293-
static void dw_mci_rockchip_platfm_shutdown(struct platform_device *pdev)
294-
{
295-
struct dw_mci *host = platform_get_drvdata(pdev);
296-
struct mmc_host *mmc = host->cur_slot->mmc;
297-
298-
if (!IS_ERR(mmc->supply.vqmmc))
299-
regulator_set_voltage(mmc->supply.vqmmc, 3000000, 3300000);
300-
}
301-
302292
#ifdef CONFIG_PM_SLEEP
303293
static int dw_mci_rockchip_suspend(struct device *dev)
304294
{
@@ -322,7 +312,6 @@ static SIMPLE_DEV_PM_OPS(dw_mci_rockchip_pmops,
322312
static struct platform_driver dw_mci_rockchip_pltfm_driver = {
323313
.probe = dw_mci_rockchip_probe,
324314
.remove = dw_mci_pltfm_remove,
325-
.shutdown = dw_mci_rockchip_platfm_shutdown,
326315
.driver = {
327316
.name = "dwmmc_rockchip",
328317
.of_match_table = dw_mci_rockchip_match,

0 commit comments

Comments
 (0)