projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
701dcef
)
mmc: usdhi6rol0: add support for UHS modes
author
Lars Persson
<
[email protected]
>
Wed, 27 Apr 2016 15:21:28 +0000
(17:21 +0200)
committer
Ulf Hansson
<
[email protected]
>
Mon, 2 May 2016 08:36:05 +0000
(10:36 +0200)
Add a start_signal_voltage_switch() operation to support enabling of
UHS modes.
Signed-off-by: Lars Persson <
[email protected]
>
Signed-off-by: Ulf Hansson <
[email protected]
>
drivers/mmc/host/usdhi6rol0.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/usdhi6rol0.c
b/drivers/mmc/host/usdhi6rol0.c
index e9c8dfa01bf851ef7326f7e93dfaf0949a8ea843..743e2005ab17d510218dd5e04e0f513806f8a57f 100644
(file)
--- a/
drivers/mmc/host/usdhi6rol0.c
+++ b/
drivers/mmc/host/usdhi6rol0.c
@@
-1147,12
+1147,22
@@
static void usdhi6_enable_sdio_irq(struct mmc_host *mmc, int enable)
}
}
+static int usdhi6_sig_volt_switch(struct mmc_host *mmc, struct mmc_ios *ios)
+{
+ int ret;
+
+ ret = mmc_regulator_set_vqmmc(mmc, ios);
+
+ return ret;
+}
+
static struct mmc_host_ops usdhi6_ops = {
.request = usdhi6_request,
.set_ios = usdhi6_set_ios,
.get_cd = usdhi6_get_cd,
.get_ro = usdhi6_get_ro,
.enable_sdio_irq = usdhi6_enable_sdio_irq,
+ .start_signal_voltage_switch = usdhi6_sig_volt_switch,
};
/* State machine handlers */