Skip to content

Commit 49f7b79

Browse files
softwareckilgirdwood
authored andcommitted
Audio: SRC: Replace mod_alloc with mod_balloc in rballoc usage
The original change introduced in commit 9fcc269 incorrectly replaced rballoc with mod_alloc. This commit fixes the issue by using mod_balloc instead. Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
1 parent 357c603 commit 49f7b79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/audio/src/src_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ int src_params_general(struct processing_module *mod,
533533
/* free any existing delay lines. TODO reuse if same size */
534534
mod_free(mod, cd->delay_lines);
535535

536-
cd->delay_lines = mod_alloc(mod, delay_lines_size);
536+
cd->delay_lines = mod_balloc(mod, delay_lines_size);
537537
if (!cd->delay_lines) {
538538
comp_err(dev, "failed to alloc cd->delay_lines, delay_lines_size = %zu",
539539
delay_lines_size);

0 commit comments

Comments
 (0)