[Sound-open-firmware] [PATCH] bvt: clk: Fix clock lookup table

Liam Girdwood liam.r.girdwood at linux.intel.com
Mon Dec 4 21:16:27 CET 2017


Baytrail clock lookup has wrong ticks per MHz values for 19.2M. Fix.

Signed-off-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
---
 src/platform/baytrail/clk.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/platform/baytrail/clk.c b/src/platform/baytrail/clk.c
index eac64c3..b616eff 100644
--- a/src/platform/baytrail/clk.c
+++ b/src/platform/baytrail/clk.c
@@ -67,8 +67,8 @@ static struct clk_pdata *clk_pdata;
 #if defined CONFIG_BAYTRAIL
 /* increasing frequency order */
 static const struct freq_table cpu_freq[] = {
-	{19200000, 25, 0x0},
-	{19200000, 25, 0x1},
+	{19200000, 19, 0x0},
+	{19200000, 19, 0x1},
 	{38400000, 50, 0x2},
 	{50000000, 50, 0x3},	/* default */
 	{100000000, 100, 0x4},
-- 
2.14.1



More information about the Sound-open-firmware mailing list