1. 18 Jun, 2024 16 commits
  2. 16 Jun, 2024 2 commits
  3. 14 Jun, 2024 3 commits
  4. 13 Jun, 2024 12 commits
  5. 31 May, 2024 4 commits
  6. 30 May, 2024 3 commits
    • Takashi Iwai's avatar
      Merge tag 'asoc-fix-v6.10-rc1' of... · e1e287e6
      Takashi Iwai authored
      Merge tag 'asoc-fix-v6.10-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
      
      ASoC: Fixes for v6.10
      
      Several serieses of fixes that have come in since the merge window,
      mostly for Intel systems.  The biggest thing is some updates from Peter
      which fix support for a series of Intel laptops which have been found to
      use 16 bit rather than 32 bit DMIC configuration blobs in their firmware
      descriptions.  We also have a bunch of fixes for module annotations, and
      some smaller single patch fixes.
      e1e287e6
    • 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
    • Peter Ujfalusi's avatar
      ASoC: SOF: ipc4-topology: Adjust the params based on DAI formats · b65456b7
      Peter Ujfalusi authored
      Currently we only check the bit depth value among to DAI formats, but other
      parameters might be constant, like number of channels and/or rate.
      
      In capture we use the fe params as a reference to find the format and blob
      which should be used, but in the path we can have components which can
      handle expanding/narrowing number of channels or do a resample.
      
      In these cases the topology is expected to have 'fixed' parameter for
      channels/rates/bit depth and the conversion to the fe format is going to
      be done within the path.
      
      In practice this patch fixes issues like:
      All DMIC formats are fixed four channels
      We have a component which converts the four channel to stereo
      FE is opened with 2 channel
      
      Even if we have the correct bit depth format and blob (for four channel) we
      will still be looking for stereo configurations, which will fail.
      
      Note: the adjustment of params have switched order with the checking of
      single bit depth (needed for the NHLT blob fallback support). This change
      is non function, just that if the sof_ipc4_narrow_params_to_format() would
      fail, there is no point of checking the single bit depth.
      Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
      Reviewed-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      Reviewed-by: default avatarBard Liao <yung-chuan.liao@linux.intel.com>
      Reviewed-by: default avatarSeppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
      Reviewed-by: default avatarRanjani Sridharan <ranjani.sridharan@linux.intel.com>
      Link: https://msgid.link/r/20240530111918.21974-6-peter.ujfalusi@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      b65456b7