ath79: do not build TP-Link tiny images by default
[oweals/openwrt.git] / target / linux / ipq40xx / patches-5.4 / 400-mmc-sdhci-sdhci-msm-use-sdhci_set_clock-instead-of-s.patch
1 From 0e28623a11f3916c1fe5b7e789c7ab8ca932a929 Mon Sep 17 00:00:00 2001
2 From: Robert Marko <robimarko@gmail.com>
3 Date: Wed, 22 Jan 2020 13:02:13 +0100
4 Subject: [PATCH] mmc: sdhci: sdhci-msm: use sdhci_set_clock instead of
5  sdhci_msm_set_clock
6
7 When using sdhci_msm_set_clock clock setting will fail, so lets
8 use the generic sdhci_set_clock.
9
10 Signed-off-by: Robert Marko <robimarko@gmail.com>
11 ---
12  drivers/mmc/host/sdhci-msm.c | 2 +-
13  1 file changed, 1 insertion(+), 1 deletion(-)
14
15 --- a/drivers/mmc/host/sdhci-msm.c
16 +++ b/drivers/mmc/host/sdhci-msm.c
17 @@ -1730,7 +1730,7 @@ MODULE_DEVICE_TABLE(of, sdhci_msm_dt_mat
18  
19  static const struct sdhci_ops sdhci_msm_ops = {
20         .reset = sdhci_reset,
21 -       .set_clock = sdhci_msm_set_clock,
22 +       .set_clock = sdhci_set_clock,
23         .get_min_clock = sdhci_msm_get_min_clock,
24         .get_max_clock = sdhci_msm_get_max_clock,
25         .set_bus_width = sdhci_set_bus_width,