2018-12-11 13:13:31

by Jerome Brunet

[permalink] [raw]
Subject: [PATCH] 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")
Signed-off-by: Jerome Brunet <[email protected]>
---
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(-)

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);

--
2.19.2



2018-12-11 15:08:37

by Neil Armstrong

[permalink] [raw]
Subject: Re: [PATCH] clk: meson: axg-audio: fix input clock name

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 <[email protected]>
> ---
> 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);
>
>