Skip to content

[BUG] ASoC: cpu DAI prepare error on GLK #828

Description

@keqiaozhang

Describe the bug
ASoC: cpu DAI prepare error when loading tplg.

To Reproduce
This issue happens at boot stage.

Expected behavior
Tplg load successful.

Impact
backend prepare failed -22

Environment

  1. Kernel: origin/topic/sof-dev-46c2b852
    Firmware: origin/cml-003-drop-stable-4731a1
  2. tplg name:sof-glk-da7219.tplg
  3. GLK Chromebook.
  4. Reproducibility Rate:100%

Screenshots or console output

aplay -Dhw:0,5 -f dat -c 2 test.wav
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
aplay: set_params:1403: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 48000
PERIOD_TIME: 85000
PERIOD_SIZE: 4080
PERIOD_BYTES: 16320
PERIODS: (4 5)
BUFFER_TIME: 341000
BUFFER_SIZE: 16368
BUFFER_BYTES: 65472
TICK_TIME: 0

dmesg

[  472.091879] sof-audio-pci 0000:00:0e.0: pcm: stream dir 0, posn mailbox offset is 790528
[  472.091896] sof-audio-pci 0000:00:0e.0: ASoC: cpu DAI prepare error: -22
[  472.091900]  iDisp1: ASoC: backend prepare failed -22
[  472.092197] sof-audio-pci 0000:00:0e.0: pcm: free stream 5 dir 0

dmesg.log
trace.log

Metadata

Metadata

Assignees

Labels

CMLApplies to Comet Lake platformGLKApplies to Gemini LakeHDAApplies to HD-Audio bus for codec connectionP1Blocker bugs or important featuresWHLApplies to WhiskeyLake platformbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions