]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
mmc: dw_mmc-rockchip: correct property names in debug
authorJohn Keeping <john@metanate.com>
Thu, 1 Mar 2018 10:36:25 +0000 (10:36 +0000)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:55:08 +0000 (19:55 -0600)
BugLink: https://bugs.launchpad.net/bugs/1836654
[ Upstream commit e988867fd774d00aeaf5d3c332032bf5b97a4147 ]

Following up the device tree fixed in commits e78c637127ee ("ARM: dts:
rockchip: Fix DWMMC clocks") and ca9eee95a2de ("arm64: dts: rockchip:
Fix DWMMC clocks", 2018-02-15), avoid confusion by using the correct
property name in the debug output if clocks are not found.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/mmc/host/dw_mmc-rockchip.c

index 3392952129355b2752f3131c0ff38a96b4e9d088..40d7de2eea1216c95a7f4fba9b8a7d05b7b1d6e4 100644 (file)
@@ -282,11 +282,11 @@ static int dw_mci_rk3288_parse_dt(struct dw_mci *host)
 
        priv->drv_clk = devm_clk_get(host->dev, "ciu-drive");
        if (IS_ERR(priv->drv_clk))
-               dev_dbg(host->dev, "ciu_drv not available\n");
+               dev_dbg(host->dev, "ciu-drive not available\n");
 
        priv->sample_clk = devm_clk_get(host->dev, "ciu-sample");
        if (IS_ERR(priv->sample_clk))
-               dev_dbg(host->dev, "ciu_sample not available\n");
+               dev_dbg(host->dev, "ciu-sample not available\n");
 
        host->priv = priv;