From fafb5152779f385eae55d0a7805ece9d08cb0d0a Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bossart Date: Tue, 6 Mar 2018 18:07:20 -0600 Subject: [PATCH] clk: fix CNL clk allocation All other platforms use RZONE_SYS, not sure why CannonLake should be any different. Signed-off-by: Pierre-Louis Bossart --- 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 f27e69179..02cfc6859 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);