Skip to contentSkip to conversation

Patch "clk: qcom: msm8916: Fix crypto clock flags" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message May 29, 2016

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: msm8916: Fix crypto clock flags

to the 4.4-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-msm8916-fix-crypto-clock-flags.patch
and it can be found in the queue-4.4 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 2a0974aa1a0b40a92387ea03dbfeacfbc9ba182c Mon Sep 17 00:00:00 2001

From: Andy Gross <[email protected]>
Date: Tue, 3 May 2016 15:24:11 -0500
Subject: clk: qcom: msm8916: Fix crypto clock flags

From: Andy Gross <[email protected]>

commit 2a0974aa1a0b40a92387ea03dbfeacfbc9ba182c upstream.

This patch adds the CLK_SET_RATE_PARENT flag for the crypto core and ahb blocks. Without this flag, clk_set_rate can fail for certain frequency requests.

Fixes 3966fab8b6ab ("clk: qcom: Add MSM8916 Global Clock Controller support")
---
 drivers/clk/qcom/gcc-msm8916.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/clk/qcom/gcc-msm8916.c +2 -0
@@ -2346,6 +2346,7 @@ static struct clk_branch gcc_crypto_ahb_
 				"pcnoc_bfdcd_clk_src",
 			},
 			.num_parents = 1,
+			.flags = CLK_SET_RATE_PARENT,
 			.ops = &clk_branch2_ops,
 		},
 	},
@@ -2381,6 +2382,7 @@ static struct clk_branch gcc_crypto_clk
 				"crypto_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.4/clk-qcom-msm8916-fix-crypto-clock-flags.patch