diff mbox series

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

Message ID 20181211124751.30108-1-jbrunet@baylibre.com (mailing list archive)
State Not Applicable
Delegated to: Neil Armstrong
Headers show
Series clk: meson: axg-audio: fix input clock name | expand

Commit Message

Jerome Brunet Dec. 11, 2018, 12:47 p.m. UTC
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")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
 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(-)

Comments

Neil Armstrong Dec. 11, 2018, 3:06 p.m. UTC | #1
On 11/12/2018 13:47, Jerome Brunet wrote:
> 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")
> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
> ---
>  Neil,
> 
>  Feel free to squash this with commit 1222ab89328f if you prefer

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

> 
>  Cheers
>  Jerome
> 
>  drivers/clk/meson/axg-audio.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/clk/meson/axg-audio.c b/drivers/clk/meson/axg-audio.c
> index 72b717e61a68..8ac3a2295473 100644
> --- a/drivers/clk/meson/axg-audio.c
> +++ b/drivers/clk/meson/axg-audio.c
> @@ -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);
>  
>
diff mbox series

Patch

diff --git a/drivers/clk/meson/axg-audio.c b/drivers/clk/meson/axg-audio.c
index 72b717e61a68..8ac3a2295473 100644
--- a/drivers/clk/meson/axg-audio.c
+++ b/drivers/clk/meson/axg-audio.c
@@ -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);