[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200117212827.GA3036@piout.net>
Date: Fri, 17 Jan 2020 22:28:27 +0100
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: Claudiu Beznea <claudiu.beznea@...rochip.com>
Cc: mturquette@...libre.com, sboyd@...nel.org,
nicolas.ferre@...rochip.com, ludovic.desroches@...rochip.com,
linux-clk@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/4] clk: at91: sam9x60: fix usb clock parents
On 17/01/2020 13:36:47+0200, Claudiu Beznea wrote:
> SAM9X60's USB clock has 3 parents: plla, upll and main_osc.
>
> Fixes: 01e2113de9a5 ("clk: at91: add sam9x60 pmc driver")
> Signed-off-by: Claudiu Beznea <claudiu.beznea@...rochip.com>
Acked-by: Alexandre Belloni <alexandre.belloni@...tlin.com>
> ---
> drivers/clk/at91/sam9x60.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/clk/at91/sam9x60.c b/drivers/clk/at91/sam9x60.c
> index 77398aefeb6d..7338a3bc71eb 100644
> --- a/drivers/clk/at91/sam9x60.c
> +++ b/drivers/clk/at91/sam9x60.c
> @@ -237,9 +237,8 @@ static void __init sam9x60_pmc_setup(struct device_node *np)
>
> parent_names[0] = "pllack";
> parent_names[1] = "upllck";
> - parent_names[2] = "mainck";
> - parent_names[3] = "mainck";
> - hw = sam9x60_clk_register_usb(regmap, "usbck", parent_names, 4);
> + parent_names[2] = "main_osc";
> + hw = sam9x60_clk_register_usb(regmap, "usbck", parent_names, 3);
> if (IS_ERR(hw))
> goto err_free;
>
> --
> 2.7.4
>
--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Powered by blists - more mailing lists