[Sound-open-firmware] [PATCH] Fix the referencing out of bounds clock

Tomasz Lauda tomasz.lauda at linux.intel.com
Tue Feb 20 11:11:43 CET 2018


Signed-off-by: Tomasz Lauda <tomasz.lauda at linux.intel.com>
---
 src/platform/cannonlake/clk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/platform/cannonlake/clk.c b/src/platform/cannonlake/clk.c
index bcce20d..3a16c1a 100644
--- a/src/platform/cannonlake/clk.c
+++ b/src/platform/cannonlake/clk.c
@@ -75,7 +75,7 @@ static const struct freq_table ssp_freq[] = {
 	{25000000, 25,},	/* default */
 };
 
-#define CPU_DEFAULT_IDX		2
+#define CPU_DEFAULT_IDX		1
 #define SSP_DEFAULT_IDX		1
 
 static inline uint32_t get_freq(const struct freq_table *table, int size,
-- 
2.7.4



More information about the Sound-open-firmware mailing list