mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 08:14:15 +08:00
clk: qcom: lcc-ipq806x: Fixup overriding val in regmap_read call
Drop the assignment of regmap_read return code to val, so the code checks the value read. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
parent
42134fa2b7
commit
74a484ced2
@ -443,7 +443,7 @@ static int lcc_ipq806x_probe(struct platform_device *pdev)
|
||||
return PTR_ERR(regmap);
|
||||
|
||||
/* Configure the rate of PLL4 if the bootloader hasn't already */
|
||||
val = regmap_read(regmap, 0x0, &val);
|
||||
regmap_read(regmap, 0x0, &val);
|
||||
if (!val)
|
||||
clk_pll_configure_sr(&pll4, regmap, &pll4_config, true);
|
||||
/* Enable PLL4 source on the LPASS Primary PLL Mux */
|
||||
|
Loading…
Reference in New Issue
Block a user