OSDN Git Service

kernel: bump 5.10 to 5.10.115
[immortalwrt/immortalwrt.git] / target / linux / ipq40xx / patches-5.10 / 400-mmc-sdhci-sdhci-msm-use-sdhci_set_clock-instead-of-s.patch
1 From f63ea127643a605da97090ce585fdd7c2d17fa42 Mon Sep 17 00:00:00 2001
2 From: Robert Marko <robert.marko@sartura.hr>
3 Date: Mon, 14 Dec 2020 13:35:35 +0100
4 Subject: [PATCH] mmc: sdhci-msm: use sdhci_set_clock
5
6 When using sdhci_msm_set_clock clock setting will fail, so lets
7 use the generic sdhci_set_clock.
8
9 Signed-off-by: Robert Marko <robert.marko@sartura.hr>
10 ---
11  drivers/mmc/host/sdhci-msm.c | 2 +-
12  1 file changed, 1 insertion(+), 1 deletion(-)
13
14 --- a/drivers/mmc/host/sdhci-msm.c
15 +++ b/drivers/mmc/host/sdhci-msm.c
16 @@ -2192,7 +2192,7 @@ MODULE_DEVICE_TABLE(of, sdhci_msm_dt_mat
17  
18  static const struct sdhci_ops sdhci_msm_ops = {
19         .reset = sdhci_msm_reset,
20 -       .set_clock = sdhci_msm_set_clock,
21 +       .set_clock = sdhci_set_clock,
22         .get_min_clock = sdhci_msm_get_min_clock,
23         .get_max_clock = sdhci_msm_get_max_clock,
24         .set_bus_width = sdhci_set_bus_width,