aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2014-06-10 11:27:19 -0700
committerUlf Hansson <[email protected]>2014-06-12 10:40:27 +0200
commited1761d7d8b83a632f34bfe6a636ceba85bfe8c8 (patch)
tree8073d18312cfd5200b5590614cb7b0764c51c412
parent13fe0ec37ab7efc11cabb5b5cc112aa029712f7c (diff)
mmc: sdhci-msm: Fix fallout from sdhci refactoring
The sdhci core was refactored recently and some of those refactorings required changes in every sdhci platform driver. Those updates happened around the same time as when the msm driver was merged so the refactorings missed the msm driver. Hook in the basic library functions so that we can boot apq8074 dragonboards again instead of crashing when we try to jump to NULL function pointers. Reported-by: Kevin Hilman <[email protected]> Cc: Georgi Djakov <[email protected]> Cc: Russell King <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Acked-by: Kumar Gala <[email protected]> Reviewed-by: Georgi Djakov <[email protected]> Tested-by: Kevin Hilman <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
-rw-r--r--drivers/mmc/host/sdhci-msm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
index acb0e9eb55f1..40573a58486a 100644
--- a/drivers/mmc/host/sdhci-msm.c
+++ b/drivers/mmc/host/sdhci-msm.c
@@ -468,6 +468,10 @@ MODULE_DEVICE_TABLE(of, sdhci_msm_dt_match);
static struct sdhci_ops sdhci_msm_ops = {
.platform_execute_tuning = sdhci_msm_execute_tuning,
+ .reset = sdhci_reset,
+ .set_clock = sdhci_set_clock,
+ .set_bus_width = sdhci_set_bus_width,
+ .set_uhs_signaling = sdhci_set_uhs_signaling,
};
static int sdhci_msm_probe(struct platform_device *pdev)