[Sound-open-firmware] [PATCH 2/3] clk: fix CNL clk allocation

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Wed Mar 7 01:07:20 CET 2018


All other platforms use RZONE_SYS, not sure why CannonLake
should be any different.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart 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 f27e691..02cfc68 100644
--- a/src/platform/cannonlake/clk.c
+++ b/src/platform/cannonlake/clk.c
@@ -191,7 +191,7 @@ uint64_t clock_time_elapsed(int clock, uint64_t previous, uint64_t *current)
 
 void init_platform_clocks(void)
 {
-	clk_pdata = rmalloc(RZONE_RUNTIME, SOF_MEM_CAPS_RAM,
+	clk_pdata = rmalloc(RZONE_SYS, SOF_MEM_CAPS_RAM,
 		sizeof(*clk_pdata));
 
 	spinlock_init(&clk_pdata->clk[0].lock);
-- 
2.14.1



More information about the Sound-open-firmware mailing list