Skip to content

Commit c1e0e39

Browse files
tititiou36bebarino
authored andcommitted
clk: imx: Remove values for mmask and nmask in struct clk_fractional_divider
Now that fractional_divider clk computes mmask and nmask when needed, there is no more need to provide them explicitly anymore. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/187a2266c3a034a593a151d6e5e6b21118043b5d.1680423909.git.christophe.jaillet@wanadoo.fr Reviewed-by: Abel Vesa <abel.vesa@linaro.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 141b325 commit c1e0e39

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/clk/imx/clk-composite-7ulp.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@
1919
#define PCG_CGC_SHIFT 30
2020
#define PCG_FRAC_SHIFT 3
2121
#define PCG_FRAC_WIDTH 1
22-
#define PCG_FRAC_MASK BIT(3)
2322
#define PCG_PCD_SHIFT 0
2423
#define PCG_PCD_WIDTH 3
25-
#define PCG_PCD_MASK 0x7
2624

2725
#define SW_RST BIT(28)
2826

@@ -102,10 +100,8 @@ static struct clk_hw *imx_ulp_clk_hw_composite(const char *name,
102100
fd->reg = reg;
103101
fd->mshift = PCG_FRAC_SHIFT;
104102
fd->mwidth = PCG_FRAC_WIDTH;
105-
fd->mmask = PCG_FRAC_MASK;
106103
fd->nshift = PCG_PCD_SHIFT;
107104
fd->nwidth = PCG_PCD_WIDTH;
108-
fd->nmask = PCG_PCD_MASK;
109105
fd->flags = CLK_FRAC_DIVIDER_ZERO_BASED;
110106
if (has_swrst)
111107
fd->lock = &imx_ccm_lock;

0 commit comments

Comments
 (0)