Commit dd4fea4
Jyri Sarha
audio: module_adapter: use sof_ctx_alloc/free in generic.c
Replace the open-coded vregion vs heap allocation and free patterns
in z_impl_mod_alloc_ext() and free_contents() with the new
sof_ctx_alloc() and sof_ctx_free() wrappers.
Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>1 parent d357b22 commit dd4fea4
1 file changed
Lines changed: 3 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
252 | 253 | | |
253 | 254 | | |
254 | 255 | | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
| 256 | + | |
265 | 257 | | |
266 | 258 | | |
267 | 259 | | |
| |||
362 | 354 | | |
363 | 355 | | |
364 | 356 | | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
| 357 | + | |
369 | 358 | | |
370 | 359 | | |
371 | 360 | | |
| |||
0 commit comments