Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7dd47b8e authored by Stephen Boyd's avatar Stephen Boyd Committed by Michael Turquette
Browse files

clk: qcom: Fix slimbus n and m val offsets



These shifts were copy/pasted from the pcm which is a different
size RCG. Use the correct offsets so that slimbus rates are
correct.

Fixes: b82875ee "clk: qcom: Add MSM8960/APQ8064 LPASS clock controller (LCC) driver"
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarMichael Turquette <mturquette@linaro.org>
parent 03208cc6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -417,8 +417,8 @@ static struct clk_rcg slimbus_src = {
		.mnctr_en_bit = 8,
		.mnctr_reset_bit = 7,
		.mnctr_mode_shift = 5,
		.n_val_shift = 16,
		.m_val_shift = 16,
		.n_val_shift = 24,
		.m_val_shift = 8,
		.width = 8,
	},
	.p = {