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 <pierre-louis.bossart@linux.intel.com>
This commit is contained in:
Pierre-Louis Bossart 2018-03-06 18:07:20 -06:00 committed by Liam Girdwood
parent 7ee7d1f723
commit fafb515277
1 changed files with 1 additions and 1 deletions

View File

@ -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);