Skip to content

Commit eacaf7d

Browse files
superna9999Lorenzo Pieralisi
authored andcommitted
PCI: amlogic: Fix probed clock names
Fix the clock names used in the probe function according to the bindings. Fixes: 9c0ef6d ("PCI: amlogic: Add the Amlogic Meson PCIe controller driver") Signed-off-by: Neil Armstrong <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Andrew Murray <[email protected]>
1 parent 0978e95 commit eacaf7d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/pci/controller/dwc/pci-meson.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,15 +250,15 @@ static int meson_pcie_probe_clocks(struct meson_pcie *mp)
250250
if (IS_ERR(res->port_clk))
251251
return PTR_ERR(res->port_clk);
252252

253-
res->mipi_gate = meson_pcie_probe_clock(dev, "pcie_mipi_en", 0);
253+
res->mipi_gate = meson_pcie_probe_clock(dev, "mipi", 0);
254254
if (IS_ERR(res->mipi_gate))
255255
return PTR_ERR(res->mipi_gate);
256256

257-
res->general_clk = meson_pcie_probe_clock(dev, "pcie_general", 0);
257+
res->general_clk = meson_pcie_probe_clock(dev, "general", 0);
258258
if (IS_ERR(res->general_clk))
259259
return PTR_ERR(res->general_clk);
260260

261-
res->clk = meson_pcie_probe_clock(dev, "pcie", 0);
261+
res->clk = meson_pcie_probe_clock(dev, "pclk", 0);
262262
if (IS_ERR(res->clk))
263263
return PTR_ERR(res->clk);
264264

0 commit comments

Comments
 (0)