Messages in this thread Patch in this message | | | From | Peng Fan <> | Subject | [PATCH 1/2] clk: imx: pll14xx: use writel_relaxed | Date | Wed, 13 Nov 2019 07:24:48 +0000 |
| |
From: Peng Fan <peng.fan@nxp.com>
It not make sense to use writel, use relaxed variant.
Cc: Will Deacon <will@kernel.org> Signed-off-by: Peng Fan <peng.fan@nxp.com> --- drivers/clk/imx/clk-pll14xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/imx/clk-pll14xx.c b/drivers/clk/imx/clk-pll14xx.c index 5682fce9f5e5..e34813904023 100644 --- a/drivers/clk/imx/clk-pll14xx.c +++ b/drivers/clk/imx/clk-pll14xx.c @@ -199,7 +199,7 @@ static int clk_pll1416x_set_rate(struct clk_hw *hw, unsigned long drate, /* Enable BYPASS */ tmp |= BYPASS_MASK; - writel(tmp, pll->base); + writel_relaxed(tmp, pll->base); div_val = (rate->mdiv << MDIV_SHIFT) | (rate->pdiv << PDIV_SHIFT) | (rate->sdiv << SDIV_SHIFT); -- 2.16.4
| |