-
Notifications
You must be signed in to change notification settings - Fork 349
Audio: Improvement of multiband_drc memory allocation error handling. #9177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audio: Improvement of multiband_drc memory allocation error handling. #9177
Conversation
cujomalainey
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see much value to this change currently, will need more convincing before I will sign off
lgirdwood
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ShriramShastry any update ? It looks like this PR can be simplified based on the review comments. Thanks
yes, I'II update it shortly. |
1fd88f5 to
2d3f81e
Compare
Replaces intermediate variable and redundant comments with a direct call to return multiband_drc_init_coef function. Signed-off-by: Shriram Shastry <malladi.sastry@intel.com>
470d047 to
84ccf1b
Compare
lyakh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see where this commit replaces "redundant comments"...
|
@wszypelt good to merge ? Looks like CI been pending a while. |
|
CI is stuck >5d nows and this is isolated to a module not in default topologies, assuming CI is borked and bypassing |
This check-in improves error handling in the
multiband_drccomponent by enabling error logging and returning-ENOMEMif memory allocation fails. It replaces asserts with conditional checks to detect and log errors during memory copy operations. Finally, it streamlines the return logic inmultiband_drc_setupand propagates theinit_coeferror code.