From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:42863 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751879AbbEBRCI (ORCPT ); Sat, 2 May 2015 13:02:08 -0400 Subject: Patch "clk: qcom: Fix ipq806x LCC frequency tables" has been added to the 4.0-stable tree To: sboyd@codeaurora.org, gregkh@linuxfoundation.org, kwestfie@codeaurora.org Cc: , From: Date: Sat, 02 May 2015 19:01:11 +0200 Message-ID: <143058607118435@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: This is a note to let you know that I've just added the patch titled clk: qcom: Fix ipq806x LCC frequency tables to the 4.0-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-fix-ipq806x-lcc-frequency-tables.patch and it can be found in the queue-4.0 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From b3261d768bcdd4b368179ed85becf38c95461848 Mon Sep 17 00:00:00 2001 From: Stephen Boyd Date: Thu, 26 Feb 2015 19:34:35 -0800 Subject: clk: qcom: Fix ipq806x LCC frequency tables From: Stephen Boyd commit b3261d768bcdd4b368179ed85becf38c95461848 upstream. These frequency tables list the wrong rates. Either they don't have the correct frequency at all, or they're specified in kHz instead of Hz. Fix it. Fixes: c99e515a92e9 "clk: qcom: Add IPQ806X LPASS clock controller (LCC) driver" Tested-by: Kenneth Westfield Signed-off-by: Stephen Boyd Signed-off-by: Greg Kroah-Hartman --- drivers/clk/qcom/lcc-ipq806x.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) --- a/drivers/clk/qcom/lcc-ipq806x.c +++ b/drivers/clk/qcom/lcc-ipq806x.c @@ -294,14 +294,14 @@ static struct clk_regmap_mux pcm_clk = { }; static struct freq_tbl clk_tbl_aif_osr[] = { - { 22050, P_PLL4, 1, 147, 20480 }, - { 32000, P_PLL4, 1, 1, 96 }, - { 44100, P_PLL4, 1, 147, 10240 }, - { 48000, P_PLL4, 1, 1, 64 }, - { 88200, P_PLL4, 1, 147, 5120 }, - { 96000, P_PLL4, 1, 1, 32 }, - { 176400, P_PLL4, 1, 147, 2560 }, - { 192000, P_PLL4, 1, 1, 16 }, + { 2822400, P_PLL4, 1, 147, 20480 }, + { 4096000, P_PLL4, 1, 1, 96 }, + { 5644800, P_PLL4, 1, 147, 10240 }, + { 6144000, P_PLL4, 1, 1, 64 }, + { 11289600, P_PLL4, 1, 147, 5120 }, + { 12288000, P_PLL4, 1, 1, 32 }, + { 22579200, P_PLL4, 1, 147, 2560 }, + { 24576000, P_PLL4, 1, 1, 16 }, { }, }; @@ -360,7 +360,7 @@ static struct clk_branch spdif_clk = { }; static struct freq_tbl clk_tbl_ahbix[] = { - { 131072, P_PLL4, 1, 1, 3 }, + { 131072000, P_PLL4, 1, 1, 3 }, { }, }; Patches currently in stable-queue which might be from sboyd@codeaurora.org are queue-4.0/clk-qcom-fix-ipq806x-lcc-frequency-tables.patch queue-4.0/clk-qcom-fix-i2c-frequency-table.patch queue-4.0/clk-qcom-properly-change-rates-for-ahbix-clock.patch queue-4.0/clk-qcom-fix-rcg-m-n-counter-configuration.patch