Skip to content

Kernel oops in sof_remove when topology fails #252

@plbossart

Description

@plbossart

When the topology load fails, the driver .probe stops and the .remove will generate a kernel oops by trying to free a NULL topology.

We should have a way of tracking if the topology was indeed fully loaded and not attempt to free it if it's invalid. See attached log and topology file that creates the problem.

See
topology_error.log

sof-apl-nocodec.m4.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    APLApplies to ApolloLake platformbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions