Skip to contentSkip to conversation

Patch "clk: qcom: Set CLK_SET_RATE_PARENT on ce1 clocks" has been added to the 4.2-stable tree

PATCH [email protected] 1 participant 1 message Sep 16, 2015

Subsystems (4)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

clk: qcom: Set CLK_SET_RATE_PARENT on ce1 clocks

to the 4.2-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
clk-qcom-set-clk_set_rate_parent-on-ce1-clocks.patch
and it can be found in the queue-4.2 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From d7a304e9d018c99dda80f4c16ec0fe817b5be4a1 Mon Sep 17 00:00:00 2001

From: Stephen Boyd <[email protected]>
Date: Tue, 14 Jul 2015 16:57:29 -0700
Subject: clk: qcom: Set CLK_SET_RATE_PARENT on ce1 clocks

From: Stephen Boyd <[email protected]>

commit d7a304e9d018c99dda80f4c16ec0fe817b5be4a1 upstream.

The other ce clocks have the flag set, but ce1 doesn't, so clk_set_rate() doesn't propagate up the tree to the ce1_src_clk. Set the flag as this is supported.

Fixes 02824653200b ("clk: qcom: Add APQ8084 Global Clock Controller support")
Fixes d33faa9ead8d ("clk: qcom: Add support for MSM8974's global clock controller (GCC)")
---
 drivers/clk/qcom/gcc-apq8084.c |    1 +
 drivers/clk/qcom/gcc-msm8974.c |    1 +
 2 files changed, 2 insertions(+)
drivers/clk/qcom/gcc-apq8084.c +1 -0
@@ -2105,6 +2105,7 @@ static struct clk_branch gcc_ce1_clk = {
 				"ce1_clk_src",
 			},
 			.num_parents = 1,
+			.flags = CLK_SET_RATE_PARENT,
 			.ops = &clk_branch2_ops,
 		},
 	},
drivers/clk/qcom/gcc-msm8974.c +1 -0
@@ -1783,6 +1783,7 @@ static struct clk_branch gcc_ce1_clk = {
 				"ce1_clk_src",
 			},
 			.num_parents = 1,
+			.flags = CLK_SET_RATE_PARENT,
 			.ops = &clk_branch2_ops,
 		},
 	},

Patches currently in stable-queue which might be from [email protected] are

queue-4.2/clk-exynos4-fix-wrong-clock-for-exynos4x12-adc.patch queue-4.2/clk-rockchip-rk3288-add-clk_set_rate_parent-to-sclk_mac.patch queue-4.2/clk-qcom-fix-msm8916-prng-clock-enable-bit.patch queue-4.2/clk-qcom-set-clk_set_rate_parent-on-ce1-clocks.patch queue-4.2/clk-versatile-off-by-one-in-clk_sp810_timerclken_of_get.patch queue-4.2/clk-pxa-fix-core-frequency-reporting-unit.patch queue-4.2/clk-pistachio-fix-32bit-integer-overflows.patch queue-4.2/clk-pistachio-fix-override-of-clk-pll-settings-from-boot-loader.patch queue-4.2/clk-pistachio-fix-pll-rate-calculation-in-integer-mode.patch queue-4.2/clk-pistachio-correct-critical-clock-list.patch