2021-09-12 20:36:12 +00:00
|
|
|
From f63ea127643a605da97090ce585fdd7c2d17fa42 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Robert Marko <robert.marko@sartura.hr>
|
|
|
|
Date: Mon, 14 Dec 2020 13:35:35 +0100
|
|
|
|
Subject: [PATCH] mmc: sdhci-msm: use sdhci_set_clock
|
2021-09-13 12:08:35 +00:00
|
|
|
|
|
|
|
When using sdhci_msm_set_clock clock setting will fail, so lets
|
|
|
|
use the generic sdhci_set_clock.
|
|
|
|
|
2021-09-12 20:36:12 +00:00
|
|
|
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
|
2021-09-13 12:08:35 +00:00
|
|
|
---
|
|
|
|
drivers/mmc/host/sdhci-msm.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
--- a/drivers/mmc/host/sdhci-msm.c
|
|
|
|
+++ b/drivers/mmc/host/sdhci-msm.c
|
2022-10-27 10:26:25 +00:00
|
|
|
@@ -2193,7 +2193,7 @@ MODULE_DEVICE_TABLE(of, sdhci_msm_dt_mat
|
2021-09-13 12:08:35 +00:00
|
|
|
|
|
|
|
static const struct sdhci_ops sdhci_msm_ops = {
|
2021-09-12 20:36:12 +00:00
|
|
|
.reset = sdhci_msm_reset,
|
2021-09-13 12:08:35 +00:00
|
|
|
- .set_clock = sdhci_msm_set_clock,
|
|
|
|
+ .set_clock = sdhci_set_clock,
|
|
|
|
.get_min_clock = sdhci_msm_get_min_clock,
|
|
|
|
.get_max_clock = sdhci_msm_get_max_clock,
|
|
|
|
.set_bus_width = sdhci_set_bus_width,
|