hda-dma: allocate RUNTIME_SHARED for hda_chan

The DMA channels need to be shared among pipelines and DSP cores,
allocate buffer for it in RUNTIME_SHARED area.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
This commit is contained in:
Keyon Jie 2021-06-01 14:47:28 +08:00 committed by Liam Girdwood
parent 472c3a4a39
commit 9809350a62
1 changed files with 1 additions and 1 deletions

View File

@ -814,7 +814,7 @@ static int hda_dma_probe(struct dma *dma)
chan->status = COMP_STATE_INIT;
chan->core = DMA_CORE_INVALID;
hda_chan = rzalloc(SOF_MEM_ZONE_SYS_RUNTIME, 0,
hda_chan = rzalloc(SOF_MEM_ZONE_RUNTIME_SHARED, 0,
SOF_MEM_CAPS_RAM,
sizeof(struct hda_chan_data));
if (!hda_chan) {