Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
module_adapter: return error if get_conf is not implemented
At present, if get_configuration is not implemented by internal module, module_adapter will return 0 directly on config read commands. Under the circumstances, the host will suppose the reading is succeeded, but in fact the ata in IPC buffer is unwanted. This commit changes the return code to non-zero for such cases, which prevents the host getting the unwanted config data. Signed-off-by: Johny Lin <johnylin@google.com>
- Loading branch information