Skip to content

Fix pm_runtime_put_autosuspend() failed issues in sof driver #891

@keyonjie

Description

@keyonjie

There might be wrong usage to pm_runtime_put_autosuspend() in SOF driver, previously I saw dmesg errors like "error: pcm close failed to idle -16" on UP2, and know another similar errors happens on CML platforms on every boots:

[ 5.651129] sof-audio-pci 0000:00:1f.3: firmware boot complete
[ 5.717502] sof-audio-pci 0000:00:1f.3: error: volume get failed to idle -16
[ 5.717659] sof-audio-pci 0000:00:1f.3: error: volume get failed to idle -16
[ 5.717847] sof-audio-pci 0000:00:1f.3: error: volume get failed to idle -16
[ 5.718040] sof-audio-pci 0000:00:1f.3: error: volume get failed to idle -16
[ 5.718223] sof-audio-pci 0000:00:1f.3: error: volume get failed to idle -16
[ 5.718405] sof-audio-pci 0000:00:1f.3: error: volume get failed to idle -16
[ 5.718594] sof-audio-pci 0000:00:1f.3: error: volume get failed to idle -16
[ 5.718794] sof-audio-pci 0000:00:1f.3: error: volume get failed to idle -16
[ 5.719013] sof-audio-pci 0000:00:1f.3: error: volume get failed to idle -16

This is not critical but there might be some PM issues hidden there, can anybody help to investigate and fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    APLApplies to ApolloLake platformCMLApplies to Comet Lake platformP1Blocker bugs or important featuresbugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions