• Mark Brown's avatar
    ASoC: SOF: ipc4-topology: Fix nhlt configuration blob · c85578e7
    Mark Brown authored
    Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:
    
    The existing logic to pick a DMIC blob is based on several historical
    assumptions that the NHLT in BIOS always contains 32-bits per sample
    type (first patch, [1]).
    
    The other issue with the existing logic is that it was designed to care only
    about the bit depth of the format and fails to find the existing and correct
    blob when rate/channels are different on the FE side compared to what we should
    be using on the DAI side (we have components in path which can change
    rate/channel count).
    
    These issues have not been observed in past but with new MTL based (Windows)
    laptops and new topologies to enhance the audio quality, we started to see weird
    issues around how our assumptions of vendors failed.
    
    Since some NHLT blob handling cleanup has been done for 6.10, this series will
    complete that work to cover even cases that we don't anticipate to see.
    
    [1] https://github.com/thesofproject/linux/issues/4973
    c85578e7
ipc4-topology.c 105 KB