1. 10 Jul, 2024 11 commits
  2. 09 Jul, 2024 4 commits
  3. 08 Jul, 2024 20 commits
  4. 05 Jul, 2024 1 commit
  5. 04 Jul, 2024 4 commits
    • Mark Brown's avatar
      Add support for non-interleaved mode in qmc_audio · fc800b84
      Mark Brown authored
      Merge series from Herve Codina <herve.codina@bootlin.com>:
      
      The qmc_audio driver supports only audio in interleaved mode.
      Non-interleaved mode can be easily supported using several QMC channel
      per DAI. In that case, data related to ch0 are sent to (received from)
      the first QMC channel, data related to ch1 use the next QMC channel and
      so on up to the last channel.
      
      In terms of constraints and settings, the interleaved and
      non-interleaved modes are slightly different.
      
      In interleaved mode:
        - The sample size should fit in the number of time-slots available for
          the QMC channel.
        - The number of audio channels should fit in the number of time-slots
          (taking into account the sample size) available for the QMC channel.
      
      In non-interleaved mode:
        - The number of audio channels is the number of available QMC
          channels.
        - Each QMC channel should have the same number of time-slots.
        - The sample size equals the number of time-slots of one QMC channel.
      
      This series add support for the non-interleaved mode in the qmc_audio
      driver and is composed of the following parts:
        - Patches 1 and 2: Fix some issues in the qmc_audio
        - Patches 3 to 6: Prepare qmc_audio for the non-interleaved mode
        - Patches 7 and 8: Extend the QMC driver API
        - Patches 9 and 10: The support for non-interleaved mode itself
      
      Compared to the previous iteration, this v2 series mainly improves
      qmc_audio_access_is_interleaved().
      fc800b84
    • Mark Brown's avatar
      ASoC: codecs: lpass-rx-macro: Few code cleanups · ecaec47b
      Mark Brown authored
      Merge series from Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>:
      
      Improve a bit the Qualcomm LPASS RX macro driver and align similar parts
      of code with LPASS WSA macro driver for consistency.
      
      No external dependencies.
      ecaec47b
    • Shenghao Ding's avatar
      ASoc: tas2781: Set "Speaker Force Firmware Load" as the common kcontrol for... · cabf0b0c
      Shenghao Ding authored
      ASoc: tas2781: Set "Speaker Force Firmware Load" as the common kcontrol for both tas27871 and tas2563
      
      Set "Speaker Force Firmware Load" as the common kcontrol
      for both tas27871 and tas2563 and move it into newly-created
      tasdevice_snd_controls, and keep the digital gain and analog
      gain in tas2781_snd_controls.
      Signed-off-by: default avatarShenghao Ding <shenghao-ding@ti.com>
      Link: https://patch.msgid.link/20240704094939.1824-1-shenghao-ding@ti.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      cabf0b0c
    • Aleksandr Mishin's avatar
      ASoC: amd: Adjust error handling in case of absent codec device · 5080808c
      Aleksandr Mishin authored
      acpi_get_first_physical_node() can return NULL in several cases (no such
      device, ACPI table error, reference count drop to 0, etc).
      Existing check just emit error message, but doesn't perform return.
      Then this NULL pointer is passed to devm_acpi_dev_add_driver_gpios()
      where it is dereferenced.
      
      Adjust this error handling by adding error code return.
      
      Found by Linux Verification Center (linuxtesting.org) with SVACE.
      
      Fixes: 02527c3f ("ASoC: amd: add Machine driver for Jadeite platform")
      Signed-off-by: default avatarAleksandr Mishin <amishin@t-argos.ru>
      Link: https://patch.msgid.link/20240703191007.8524-1-amishin@t-argos.ruSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      5080808c