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

load topology for each device #5209

Open
wants to merge 3 commits into
base: topic/sof-dev
Choose a base branch
from

Commits on Nov 22, 2024

  1. ASoC: SOF: topology: allocate string for tuples

    The existing code point tuples[*num_copied_tuples].value.s to elem->string
    which works fine if there is only one topology is handled and all the
    tuples are handled before the topology fw is released. However, we will
    handle multiple topologies and the tuples may be used after the topology
    fw is release. Ues devm_kasprintf to allocate the string for the tuples
    to avoid invalid access.
    
    Signed-off-by: Bard Liao <[email protected]>
    bardliao committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    9e958d6 View commit details
    Browse the repository at this point in the history
  2. ASoC: SOF: topology: don't convert error code

    No need to convert the return value of snd_soc_tplg_component_load().
    
    Signed-off-by: Bard Liao <[email protected]>
    bardliao committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    b0a6bab View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2024

  1. ASoC: SOF: topology: load multiple topologies

    Get device information from dai links and load topology for each device.
    This allow user create a topology for single device. The driver will
    select the needed topologies and we don't need to create topologies for
    each product.
    
    Signed-off-by: Bard Liao <[email protected]>
    bardliao committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    788e9bf View commit details
    Browse the repository at this point in the history