Skip to content
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

module_adapter: return error if get_conf is not implemented #9045

Merged

Commits on Apr 16, 2024

  1. 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>
    johnylin76 committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    8f78eac View commit details
    Browse the repository at this point in the history