OSDN Git Service

clk: imx: pll14xx: Drop wrong shifting
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 4 Mar 2022 12:52:50 +0000 (13:52 +0100)
committerAbel Vesa <abel.vesa@nxp.com>
Fri, 4 Mar 2022 15:06:30 +0000 (17:06 +0200)
commitd77461a616b659bd88dc153e3a86dba5bf78aa8a
tree89d522b125f96e75d3e462a0076115a38720e4ce
parent485b4ff57c2777c15bfe2e6e6a204200b040e131
clk: imx: pll14xx: Drop wrong shifting

The code tries to mask the bits in SDIV_MASK from 'tmp'. SDIV_MASK
already contains the shifted value, so shifting it again is wrong.
No functional change though as SDIV_SHIFT is zero.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Abel Vesa <abel.vesa@nxp.com>
Link: https://lore.kernel.org/r/20220304125256.2125023-3-s.hauer@pengutronix.de
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
drivers/clk/imx/clk-pll14xx.c