Skip to content

[BUG][MTL] 24bit pch-dmic capture fails due to missing config in NHLT #4689

Closed

Description

@kv2019i

With generic HDA topology and MTl platform, following is hit:

[ 64.951286] sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
[ 64.951346] sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 2
[ 64.951348] sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture
[ 64.951349] sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets

The NHLT table shows configurations for:
[ 690.593197] sof-audio-pci-intel-mtl 0000:00:1f.3: Endpoint format: ch=2 fmt=16/16 rate=48000
[ 690.593199] sof-audio-pci-intel-mtl 0000:00:1f.3: Endpoint format: ch=2 fmt=24/32 rate=48000

But kernel uses 32/32bit config in the NHLT query and does not find a matching config. The NHLT blob seems valid and 24/32 is a correct configuration, so SOF kernel driver should correctly handle this scenario (a limitation that follow deriving NHLT search params from FE PCM parameters).

Activity

  1. added
    P1
    dmic
    MTL
    on Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

MTLP1dmic

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions