diff mbox

clk: gcc-msm8916: add support to 9.6MHz codec clk

Message ID 20170612094122.6770-1-srinivas.kandagatla@linaro.org (mailing list archive)
State Accepted
Delegated to: Stephen Boyd
Headers show

Commit Message

Srinivas Kandagatla June 12, 2017, 9:41 a.m. UTC
MCLK for internal audio codec is expected to be at 9.6MHz by default.
This patch adds support to 9.6MHz to make the default case possible.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
 drivers/clk/qcom/gcc-msm8916.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Stephen Boyd June 20, 2017, 12:47 a.m. UTC | #1
On 06/12, Srinivas Kandagatla wrote:
> MCLK for internal audio codec is expected to be at 9.6MHz by default.
> This patch adds support to 9.6MHz to make the default case possible.
> 
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> ---

Applied to clk-next
diff mbox

Patch

diff --git a/drivers/clk/qcom/gcc-msm8916.c b/drivers/clk/qcom/gcc-msm8916.c
index 628e6ca276ec..2cfe7000fc60 100644
--- a/drivers/clk/qcom/gcc-msm8916.c
+++ b/drivers/clk/qcom/gcc-msm8916.c
@@ -1430,6 +1430,7 @@  static struct clk_branch gcc_ultaudio_stc_xo_clk = {
 };
 
 static const struct freq_tbl ftbl_codec_clk[] = {
+	F(9600000, P_XO, 2, 0, 0),
 	F(19200000, P_XO, 1, 0, 0),
 	F(11289600, P_EXT_MCLK, 1, 0, 0),
 	{ }