Skip to content

sof modules unloading failure on GLK #680

Closed

Description

@keqiaozhang

This issue happens when unloading the modules. dai links are missing in sof_link_unload.

How to reproduce:

  1. remove the modules
rmmod sof_pci_dev
rmmod snd_sof_intel_hda_common
rmmod snd_sof_intel_hda
rmmod snd_sof_xtensa_dsp
rmmod snd_soc_acpi_intel_match
rmmod snd_sof
rmmod snd_soc_sst_bxt_da7219_max98357a
rmmod snd_soc_da7219
rmmod snd_soc_hdac_hdmi
rmmod snd_soc_dmic
rmmod snd_soc_max98357a
rmmod snd_soc_acpi
rmmod snd_hda_ext_core
rmmod snd_hda_core
  1. check the dmesg.

dmesg:

[   73.909837] sof-audio-pci 0000:00:0e.0: error: failed to find dai HDMI3 in sof_link_unload
[   73.909848] sof-audio-pci 0000:00:0e.0: error: failed to find dai HDMI2 in sof_link_unload
[   73.909853] sof-audio-pci 0000:00:0e.0: error: failed to find dai HDMI1 in sof_link_unload
[   73.909858] sof-audio-pci 0000:00:0e.0: error: failed to find dai DMIC01 in sof_link_unload
[   73.909861] sof-audio-pci 0000:00:0e.0: error: failed to find dai Headset in sof_link_unload
[   73.909866] sof-audio-pci 0000:00:0e.0: error: failed to find dai Speakers in sof_link_unload

Test recipe:
sof-master: 82d29e0
kernel: topic/cros-sof-v4.14-rebase-b61733c
dmesg.log

Activity

  1. added
    bug
    GLK
    on Feb 27, 2019
  2. plbossart commented on Feb 27, 2019

    @plbossart
    Member

    @bardliao can you check if there is one of your patches missing on this glk branch?

  3. bardliao commented on Feb 28, 2019

    @bardliao
    Collaborator
  4. keqiaozhang commented on Feb 28, 2019

    @keqiaozhang
    Author

    @bardliao
    Confirmed that above patch can fix this issue.
    @ranj063
    Please help to backport this patch to cros branch.

  5. ranj063 commented on Feb 28, 2019

    @ranj063
    Collaborator
  6. keqiaozhang commented on Feb 28, 2019

    @keqiaozhang
    Author

    Thanks @ranj063 .
    This issue is fixed in cros-sof-v4.14-rebase: 164bdbb.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    GLKbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions