1. 08 May, 2024 33 commits
  2. 07 May, 2024 4 commits
    • Mark Brown's avatar
      ASoC: Constify static snd_pcm_hardware · 80513607
      Mark Brown authored
      Merge series from Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>:
      
      Static 'struct snd_pcm_hardware' is not modified by few drivers and its
      copy is passed to the core, so it can be made const for increased code
      safety.
      80513607
    • Mark Brown's avatar
      ASoC: use 'time_left' instead of 'timeout' with · 741e987d
      Mark Brown authored
      Merge series from Wolfram Sang <wsa+renesas@sang-engineering.com>:
      
      There is a confusing pattern in the kernel to use a variable named 'timeout' to
      store the result of wait_for_*() functions causing patterns like:
      
              timeout = wait_for_completion_timeout(...)
              if (!timeout) return -ETIMEDOUT;
      
      with all kinds of permutations. Use 'time_left' as a variable to make the code
      obvious and self explaining.
      
      This is part of a tree-wide series. The rest of the patches can be found here
      (some parts may still be WIP):
      
      git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/time_left
      
      Because these patches are generated, I audit them before sending. This is why I
      will send series step by step. Build bot is happy with these patches, though.
      No functional changes intended.
      741e987d
    • Mark Brown's avatar
      ASoC: Use snd_soc_substream_to_rtd() for accessing · d98b0712
      Mark Brown authored
      Merge series from Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>:
      
      Do not open-code snd_soc_substream_to_rtd() when accessing
      snd_pcm_substream->private_data.  This makes code more consistent with
      rest of ASoC and allows in the future to move the field to any other
      place or add additional checks in snd_soc_substream_to_rtd().
      d98b0712
    • Mark Brown's avatar
      ALSA/ASoC: Intel: clarify Copyright information · ba04ff20
      Mark Brown authored
      Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
      
      This patchset does not change any functionality. It only clarifies the
      Copyright information in ASoC/HDAudio contributions, where an "All
      rights reserved" notice was mistakenly added in a number of files over
      the years, likely due to copy/paste. The Intel template never included
      this statement.
      ba04ff20
  3. 06 May, 2024 3 commits
    • Krzysztof Kozlowski's avatar
    • Mark Brown's avatar
      ASoC: SOF: Intel: remove circular dependency for · 6b045e2e
      Mark Brown authored
      Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
      
      The SoundWire BPT support will rely on the HDaudio DMA. This exposes a
      circular dependency module dependency which has to be resolved by
      splitting common parts used by HDaudio and SoundWire parts, and
      'generic' parts used by HDaudio only.
      
      This patchset does not change any functionality, it just moves code
      around, exposes symbols that are used in the new module. The code has
      been in use for more than one kernel cycle already so it really
      shouldn't break any existing platforms.
      
      The main issue with such code moves is that it makes backports or
      fixes more complicated. That's the main reason why we held back these
      patches until we were reasonably confident on the maturity of MTL and
      LNL drivers.
      6b045e2e
    • Mark Brown's avatar
      ASoC: SOF: Intel: HDA/DMIC updates · f283219b
      Mark Brown authored
      Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
      
      The first patch handles a problematic configuration where the wrong
      machine driver/topology is used: when the hardware reports an external
      HDaudio codec the direction is to ignore/discard ACPI SoundWire
      devices.
      
      The last two patch deal with DMIC format configurations and allow
      users to select S16_LE even if the DMIC and internal copiers only
      support 24 or 32-bits. The code changes are located in sound/soc/sof/
      but in the scope of Intel DAIs.
      f283219b