linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: imx7ulp: Fix watchdog2 clock name typo
@ 2019-11-19 19:28 Fabio Estevam
  2019-11-20  8:40 ` Abel Vesa
  2019-12-09  2:31 ` Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2019-11-19 19:28 UTC (permalink / raw)
  To: sboyd; +Cc: shawnguo, linux-imx, kernel, linux-clk, Fabio Estevam

There is a typo in the watchdog2 clock name. 

Fix it by changing it to "wdg2".

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 drivers/clk/imx/clk-imx7ulp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/imx/clk-imx7ulp.c b/drivers/clk/imx/clk-imx7ulp.c
index 3fdf3d494f0a..3d9673cb1270 100644
--- a/drivers/clk/imx/clk-imx7ulp.c
+++ b/drivers/clk/imx/clk-imx7ulp.c
@@ -181,7 +181,7 @@ static void __init imx7ulp_clk_pcc2_init(struct device_node *np)
 	clks[IMX7ULP_CLK_USDHC0]	= imx7ulp_clk_composite("usdhc0",  periph_plat_sels, ARRAY_SIZE(periph_plat_sels), true, true,  true, base + 0xdc);
 	clks[IMX7ULP_CLK_USDHC1]	= imx7ulp_clk_composite("usdhc1",  periph_plat_sels, ARRAY_SIZE(periph_plat_sels), true, true,  true, base + 0xe0);
 	clks[IMX7ULP_CLK_WDG1]		= imx7ulp_clk_composite("wdg1",    periph_bus_sels, ARRAY_SIZE(periph_bus_sels), true, true,  true, base + 0xf4);
-	clks[IMX7ULP_CLK_WDG2]		= imx7ulp_clk_composite("sdg2",    periph_bus_sels, ARRAY_SIZE(periph_bus_sels), true, true,  true, base + 0x10c);
+	clks[IMX7ULP_CLK_WDG2]		= imx7ulp_clk_composite("wdg2",    periph_bus_sels, ARRAY_SIZE(periph_bus_sels), true, true,  true, base + 0x10c);
 
 	imx_check_clk_hws(clks, clk_data->num);
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: imx7ulp: Fix watchdog2 clock name typo
  2019-11-19 19:28 [PATCH] clk: imx7ulp: Fix watchdog2 clock name typo Fabio Estevam
@ 2019-11-20  8:40 ` Abel Vesa
  2019-12-09  2:31 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Abel Vesa @ 2019-11-20  8:40 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: sboyd, shawnguo, dl-linux-imx, kernel, linux-clk

On 19-11-19 16:28:48, Fabio Estevam wrote:
> There is a typo in the watchdog2 clock name. 
> 
> Fix it by changing it to "wdg2".
> 
> Signed-off-by: Fabio Estevam <festevam@gmail.com>

Reviewed-by: Abel Vesa <abel.vesa@nxp.com>

> ---
>  drivers/clk/imx/clk-imx7ulp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/clk/imx/clk-imx7ulp.c b/drivers/clk/imx/clk-imx7ulp.c
> index 3fdf3d494f0a..3d9673cb1270 100644
> --- a/drivers/clk/imx/clk-imx7ulp.c
> +++ b/drivers/clk/imx/clk-imx7ulp.c
> @@ -181,7 +181,7 @@ static void __init imx7ulp_clk_pcc2_init(struct device_node *np)
>  	clks[IMX7ULP_CLK_USDHC0]	= imx7ulp_clk_composite("usdhc0",  periph_plat_sels, ARRAY_SIZE(periph_plat_sels), true, true,  true, base + 0xdc);
>  	clks[IMX7ULP_CLK_USDHC1]	= imx7ulp_clk_composite("usdhc1",  periph_plat_sels, ARRAY_SIZE(periph_plat_sels), true, true,  true, base + 0xe0);
>  	clks[IMX7ULP_CLK_WDG1]		= imx7ulp_clk_composite("wdg1",    periph_bus_sels, ARRAY_SIZE(periph_bus_sels), true, true,  true, base + 0xf4);
> -	clks[IMX7ULP_CLK_WDG2]		= imx7ulp_clk_composite("sdg2",    periph_bus_sels, ARRAY_SIZE(periph_bus_sels), true, true,  true, base + 0x10c);
> +	clks[IMX7ULP_CLK_WDG2]		= imx7ulp_clk_composite("wdg2",    periph_bus_sels, ARRAY_SIZE(periph_bus_sels), true, true,  true, base + 0x10c);
>  
>  	imx_check_clk_hws(clks, clk_data->num);
>  
> -- 
> 2.17.1
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: imx7ulp: Fix watchdog2 clock name typo
  2019-11-19 19:28 [PATCH] clk: imx7ulp: Fix watchdog2 clock name typo Fabio Estevam
  2019-11-20  8:40 ` Abel Vesa
@ 2019-12-09  2:31 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2019-12-09  2:31 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: sboyd, linux-imx, kernel, linux-clk

On Tue, Nov 19, 2019 at 04:28:48PM -0300, Fabio Estevam wrote:
> There is a typo in the watchdog2 clock name. 
> 
> Fix it by changing it to "wdg2".
> 
> Signed-off-by: Fabio Estevam <festevam@gmail.com>

Applied, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-12-09  2:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-19 19:28 [PATCH] clk: imx7ulp: Fix watchdog2 clock name typo Fabio Estevam
2019-11-20  8:40 ` Abel Vesa
2019-12-09  2:31 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).