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

Test: Cmocka: Set component type to SOF_COMP_MODULE_ADAPTER #9529

Merged
merged 2 commits into from
Oct 1, 2024

Commits on Oct 1, 2024

  1. Test: Cmocka: Set component type to SOF_COMP_MODULE_ADAPTER

    The change done in commit b53573a
    ("ipc3: override type field once comp_driver found") expects
    the component type via init IPC to be the same as module
    register sets (SOF_COMP_MODULE_ADAPTER).
    
    Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
    singalsu committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    5d05963 View commit details
    Browse the repository at this point in the history
  2. Audio: Mux: Handle correctly mux/demux mode

    Since with module adapter the component type from init IPC
    is no more SOF_COMP_MUX or SOF_COMP_DEMUX but
    SOF_COMP_MODULE_ADAPTER, the mux mode check needs to be change.
    The type is set in init() based on which init function was
    used.
    
    All checks for dev->ipc_config.type are changed to check of
    cd->comp_type. The set of type in mux_ipc4.c is removed.
    
    Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
    singalsu committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    5c634d0 View commit details
    Browse the repository at this point in the history