forked from thesofproject/sof
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Audio: Improvement of multiband_drc memory allocation error handling.
This check-in improves error handling in the multiband_drc component by enabling error logging and returning -ENOMEM if memory allocation fails. It replaces asserts with conditional checks to detect and log errors during memory copy operations. Finally, it streamlines the return logic in multiband_drc_setup and propagates the init_coef error code. Signed-off-by: Shriram Shastry <[email protected]>
- Loading branch information
1 parent
90c54a6
commit 73fb894
Showing
1 changed file
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters