提交 eacaf7dc 编写于 作者: N Neil Armstrong 提交者: Lorenzo Pieralisi

PCI: amlogic: Fix probed clock names

Fix the clock names used in the probe function according
to the bindings.

Fixes: 9c0ef6d3 ("PCI: amlogic: Add the Amlogic Meson PCIe controller driver")
Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com>
Signed-off-by: NLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: NAndrew Murray <andrew.murray@arm.com>
上级 0978e952
...@@ -250,15 +250,15 @@ static int meson_pcie_probe_clocks(struct meson_pcie *mp) ...@@ -250,15 +250,15 @@ static int meson_pcie_probe_clocks(struct meson_pcie *mp)
if (IS_ERR(res->port_clk)) if (IS_ERR(res->port_clk))
return PTR_ERR(res->port_clk); return PTR_ERR(res->port_clk);
res->mipi_gate = meson_pcie_probe_clock(dev, "pcie_mipi_en", 0); res->mipi_gate = meson_pcie_probe_clock(dev, "mipi", 0);
if (IS_ERR(res->mipi_gate)) if (IS_ERR(res->mipi_gate))
return PTR_ERR(res->mipi_gate); return PTR_ERR(res->mipi_gate);
res->general_clk = meson_pcie_probe_clock(dev, "pcie_general", 0); res->general_clk = meson_pcie_probe_clock(dev, "general", 0);
if (IS_ERR(res->general_clk)) if (IS_ERR(res->general_clk))
return PTR_ERR(res->general_clk); return PTR_ERR(res->general_clk);
res->clk = meson_pcie_probe_clock(dev, "pcie", 0); res->clk = meson_pcie_probe_clock(dev, "pclk", 0);
if (IS_ERR(res->clk)) if (IS_ERR(res->clk))
return PTR_ERR(res->clk); return PTR_ERR(res->clk);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册