Skip to content

Can't find sof_dai in sof_link_unload() #343

Description

@bardliao

We will see below error message if we rmmod sof_pci_dev

[   82.481898] sof-audio sof-audio: error: invalid DAI type 0
[   82.482352] sof-audio sof-audio: error: invalid DAI type 0
[   82.482823] sof-audio sof-audio: error: invalid DAI type 0
[   82.483266] sof-audio sof-audio: error: invalid DAI type 0

The reason is link->name and sof_dai->name are not matched in sof_link_unload()
for example, on up2 with pcm512x codec,
the link->name are HDMI3, HDMI2, HDMI1, and Port5
But the sof_dai->name are iDisp3, iDisp2, iDisp1, SSP5-Codec
But it was matched in sof_link_load().

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingupstream blockerMandatory for upstream

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions