mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 04:42:12 +00:00
mmc: dw_mmc-rockchip: correct property names in debug
Following up the device tree fixed in commitse78c637127
("ARM: dts: rockchip: Fix DWMMC clocks") andca9eee95a2
("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>
This commit is contained in:
parent
3715ce57f4
commit
e988867fd7
@ -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");
|
priv->drv_clk = devm_clk_get(host->dev, "ciu-drive");
|
||||||
if (IS_ERR(priv->drv_clk))
|
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");
|
priv->sample_clk = devm_clk_get(host->dev, "ciu-sample");
|
||||||
if (IS_ERR(priv->sample_clk))
|
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;
|
host->priv = priv;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user