Skip to content

Commit 2f9f64b

Browse files
jaustinMike Turquette
authored andcommitted
clk: fixup argument order when setting VCO parameters
The order of arguments in the call to vco_set() for the ICST clocks appears to have been switched in error, which results in the VCO not being initialised correctly. This in turn stops the integrated LCD on things like Integrator/CP from working correctly. This patch fixes the order and restores the expected functionality. Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jonathan Austin <jonathan.austin@arm.com> Signed-off-by: Mike Turquette <mturquette@linaro.org> Cc: stable@vger.kernel.org
1 parent 79a2e99 commit 2f9f64b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/versatile/clk-icst.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ static int icst_set_rate(struct clk_hw *hw, unsigned long rate,
107107

108108
vco = icst_hz_to_vco(icst->params, rate);
109109
icst->rate = icst_hz(icst->params, vco);
110-
vco_set(icst->vcoreg, icst->lockreg, vco);
110+
vco_set(icst->lockreg, icst->vcoreg, vco);
111111
return 0;
112112
}
113113

0 commit comments

Comments
 (0)