Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers/mediatek/afe: Handle zero-length allocation
The older SOF allocator would return a valid pointer into the heap for a zero length block, but Zephyr's sys_heap returns a NULL. That's not an error and it will free() as a noop. Signed-off-by: Andy Ross <andyross@google.com>
- Loading branch information