diff mbox series

[v2,1/3] clk: at91: clk-master: increase maximum number of clocks

Message ID caca5fa16e5800bb933e37dfb6df8cad4491624f.1725392645.git.Ryan.Wanner@microchip.com (mailing list archive)
State Superseded, archived
Headers show
Series clk: at91: add sama7d65 clock support | expand

Commit Message

Ryan Wanner Sept. 4, 2024, 3:54 p.m. UTC
From: Ryan Wanner <Ryan.Wanner@microchip.com>

Increase maximum number of vaild master clocks. The PMC for the SAMA7D65
requires 9 master clocks.

Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com>
---
 drivers/clk/at91/clk-master.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Dharma Balasubiramani Sept. 9, 2024, 9:30 a.m. UTC | #1
On 04/09/24 9:24 pm, Ryan.Wanner@microchip.com wrote:
> From: Ryan Wanner <Ryan.Wanner@microchip.com>
> 
> Increase maximum number of vaild master clocks. The PMC for the SAMA7D65
A typo                       ^valid
> requires 9 master clocks.
> 
> Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com>
> ---
>   drivers/clk/at91/clk-master.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/clk/at91/clk-master.c b/drivers/clk/at91/clk-master.c
> index 15c46489ba85..7a544e429d34 100644
> --- a/drivers/clk/at91/clk-master.c
> +++ b/drivers/clk/at91/clk-master.c
> @@ -20,7 +20,7 @@
>   
>   #define PMC_MCR_CSS_SHIFT	(16)
>   
> -#define MASTER_MAX_ID		4
> +#define MASTER_MAX_ID		9
>   
>   #define to_clk_master(hw) container_of(hw, struct clk_master, hw)
>
diff mbox series

Patch

diff --git a/drivers/clk/at91/clk-master.c b/drivers/clk/at91/clk-master.c
index 15c46489ba85..7a544e429d34 100644
--- a/drivers/clk/at91/clk-master.c
+++ b/drivers/clk/at91/clk-master.c
@@ -20,7 +20,7 @@ 
 
 #define PMC_MCR_CSS_SHIFT	(16)
 
-#define MASTER_MAX_ID		4
+#define MASTER_MAX_ID		9
 
 #define to_clk_master(hw) container_of(hw, struct clk_master, hw)