Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
module_adapter: Propagate error from module specific callback
When module_prepare() fails we need to return to calling module the exact specific error not just -EIO. There is no real use for Host AP to receive an error code that doesn't reflect the actual error. While at it, make the code more compact as suggested by Guennadi. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
- Loading branch information