]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
clk: renesas: rzg2l: Use u32 for flag and mux_flags
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Tue, 12 Sep 2023 04:51:34 +0000 (07:51 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 May 2025 05:50:40 +0000 (07:50 +0200)
[ Upstream commit 897a3e34d6e73d2386715d5c44c57992f2c0eada ]

flag and mux_flags are intended to keep bit masks.  Use u32 type for it.

Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230912045157.177966-15-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Stable-dep-of: 7f22a298d926 ("clk: renesas: r9a07g043: Fix HP clock source for RZ/Five")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/renesas/rzg2l-cpg.h

index 91e9c2569f801b5674fe723b937c02ee33f1e94d..097fd8f6168063a3bafa4e3cb74b86d023763307 100644 (file)
@@ -92,8 +92,8 @@ struct cpg_core_clk {
        unsigned int conf;
        const struct clk_div_table *dtable;
        const char * const *parent_names;
-       int flag;
-       int mux_flags;
+       u32 flag;
+       u32 mux_flags;
        int num_parents;
 };