Skip to contentSkip to conversation

clk: meson: axg-audio: fix input clock name

PATCH In review Jerome Brunet 2 participants 2 messages Dec 11, 2018

Subsystems (3)
lore
Share & tools
lore

Jerome Brunet

author maintainer
#0 lore raw

PATCH 1/1 clk: meson: axg-audio: fix input clock name

The name of input clock is not aligned with the rest of the tree Because of this, the audio peripheral clocks are orphaned.

Fixes 1222ab89328f ("clk: meson: axg-audio: use the clk input helper function")

---
Neil,

Feel free to squash this with commit 1222ab89328f if you prefer

Cheers
Jerome

 drivers/clk/meson/axg-audio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/meson/axg-audio.c +1 -1
index 72b717e61a68..8ac3a2295473 100644
@@ -752,7 +752,7 @@ static int axg_audio_clkc_probe(struct platform_device *pdev)
 	}
 
 	/* Register the peripheral input clock */
-	hw = meson_clk_hw_register_input(dev, "pclk", "audio_pclk", 0);
+	hw = meson_clk_hw_register_input(dev, "pclk", "axg_audio_pclk", 0);
 	if (IS_ERR(hw))
 		return PTR_ERR(hw);
 
Signature · 1 line
2.19.2
#1 lore raw
Quoted 9 lines · Jerome Brunet

The name of input clock is not aligned with the rest of the tree Because of this, the audio peripheral clocks are orphaned.

Fixes 1222ab89328f ("clk: meson: axg-audio: use the clk input helper function")

---
Neil,

Feel free to squash this with commit 1222ab89328f if you prefer

Well, I'm lazy so I squashed it :-)

Quoted 21 lines

Cheers
Jerome

 drivers/clk/meson/axg-audio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/meson/axg-audio.c +1 -1
index 72b717e61a68..8ac3a2295473 100644
@@ -752,7 +752,7 @@ static int axg_audio_clkc_probe(struct platform_device *pdev)
 	}
 
 	/* Register the peripheral input clock */
-	hw = meson_clk_hw_register_input(dev, "pclk", "audio_pclk", 0);
+	hw = meson_clk_hw_register_input(dev, "pclk", "axg_audio_pclk", 0);
 	if (IS_ERR(hw))
 		return PTR_ERR(hw);