1. Oct 28, 2023
    • Arnd Bergmann's avatar
      ASoC: amd: acp: select SND_SOC_AMD_ACP_LEGACY_COMMON for ACP63 · a65cdffb
      Arnd Bergmann authored
      Without this dependency, acp63 fails to link:
      
      x86_64-linux-ld: sound/soc/amd/acp/acp63.o: in function `acp63_audio_remove':
      acp63.c:(.text+0x22): undefined reference to `acp_disable_interrupts'
      x86_64-linux-ld: sound/soc/amd/acp/acp63.o: in function `acp63_i2s_master_clock_generate.isra.0':
      acp63.c:(.text+0x6f): undefined reference to `smn_read'
      x86_64-linux-ld: acp63.c:(.text+0x81): undefined reference to `smn_write'
      x86_64-linux-ld: acp63.c:(.text+0x8e): undefined reference to `smn_read'
      x86_64-linux-ld: sound/soc/amd/acp/acp63.o: in function `acp63_pcm_resume':
      acp63.c:(.text+0x230): undefined reference to `restore_acp_i2s_params'
      x86_64-linux-ld: acp63.c:(.text+0x23d): undefined reference to `restore_acp_pdm_params'
      x86_64-linux-ld: sound/soc/amd/acp/acp63.o: in function `acp63_audio_probe':
      acp63.c:(.text+0x474): undefined reference to `acp_enable_interrupts'
      
      Fixes: d4c2d539
      
       ("ASoC: amd: acp: add Kconfig options for acp6.3 based platform driver")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Link: https://lore.kernel.org/r/20231027152403.386257-3-arnd@kernel.org
      
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      a65cdffb
    • Arnd Bergmann's avatar
      ASoC: codecs: aw88399: fix typo in Kconfig select · cf046ecb
      Arnd Bergmann authored
      The aw88395_lib module is shared by all the aw883* drivers that
      need to select the corresponding Kconfig symbol. The newly added
      aw88399 incorrectly selects SND_SOC_AW88399_LIB instead, which
      is not defined anywhere in the kernel, causing a link failure when
      the actual one is missing:
      
      arm-linux-gnueabi-ld: sound/soc/codecs/aw88399.o: in function `aw88399_codec_probe':
      aw88399.c:(.text+0xbc6): undefined reference to `aw88395_dev_load_acf_check'
      arm-linux-gnueabi-ld: aw88399.c:(.text+0xbea): undefined reference to `aw88395_dev_cfg_load'
      
      Fixes: 8ade6cc7
      
       ("ASoC: codecs: Add aw88399 amplifier driver")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Link: https://lore.kernel.org/r/20231027152403.386257-2-arnd@kernel.org
      
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      cf046ecb
    • Arnd Bergmann's avatar
      ASoC: amd: acp: add ACPI dependency · 0b383620
      Arnd Bergmann authored
      A newly added function requires CONFIG_ACPI to avoid a build error:
      
      sound/soc/amd/acp/acp-legacy-common.c: In function 'check_acp_pdm':
      sound/soc/amd/acp/acp-legacy-common.c:401:19: error: implicit declaration of function 'acpi_find_child_device'; did you mean 'acpi_match_device'? [-Werror=implicit-function-declaration]
        401 |         pdm_dev = acpi_find_child_device(ACPI_COMPANION(&pci->dev), pdm_addr, 0);
            |                   ^~~~~~~~~~~~~~~~~~~~~~
            |                   acpi_match_device
      
      The acp drivers really only work when ACPI is enabled already, so just
      avoid the build failure with hard dependency in everything that
      enables the acp-legacy-common portion.
      
      Fixes: 3a94c8ad
      
       ("ASoC: amd: acp: add code for scanning acp pdm controller")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Link: https://lore.kernel.org/r/20231027152403.386257-1-arnd@kernel.org
      
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      0b383620
  2. Oct 27, 2023
    • Mark Brown's avatar
      ASoC: Intel: bytcr_wm5102: add various quirks · 60781d2d
      Mark Brown authored
      Merge series from Hans de Goede <hdegoede@redhat.com>:
      
      Hi Mark,
      
      As requested here is a v2 of my series to add various quirks
      to the bytcr_wm5102 Intel board driver to make it more flexible.
      
      Changes in v2:
      - Dropped 2 already merged patches
      - Rebased on top of broonie/sound/for-6.7
      
      Regards,
      
      Hans
      
      Hans de Goede (4):
        ASoC: Intel: bytcr_wm5102: Add BYT_WM5102_SSP2 quirk
        ASoC: Intel: bytcr_wm5102: Add BYT_WM5102_MCLK_19_2MHZ quirk
        ASoC: Intel: bytcr_wm5102: Add BYT_WM5102_OUT_MAP quirk
        ASoC: Intel: bytcr_wm5102: Add BYT_WM5102_IN_MAP quirk
      
       sound/soc/intel/boards/bytcr_wm5102.c | 229 +++++++++++++++++++++++---
       1 file changed, 202 insertions(+), 27 deletions(-)
      
      --
      2.41.0
      60781d2d
    • Mark Brown's avatar
      sc7180: Add qdsp based soundcard · 246f388e
      Mark Brown authored
      Merge series from Nikita Travkin <nikita@trvn.ru>:
      
      Some devices, such as Acer Aspire 1, can't use lpass dirrectly, but
      instead must use adsp core to play sound. Since otherwise the hardware
      is, usually, very similar across the devices on the same platform, it
      makes sense to reuse the same boardfile.
      
      This series refactors the sc7180.c slightly and adds the functions to
      control clocks via adsp instead of controlling the hardware directly.
      246f388e
    • Mark Brown's avatar
      ASoC: fix widget name comparisons (consider DAI name · 11817547
      Mark Brown authored
      Merge series from Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>:
      
      Some codec drivers compare widget names with strcmp, ignoring
      the component name prefix.  If prefix is used, the comparisons start failing.
      
      Except Qualcomm lpass-rx-macro, none of the patches were tested
      on hardware.
      11817547
    • Mark Brown's avatar
      ASoC: codecs: Add aw88399 amplifier driver · 926f192f
      Mark Brown authored
      Merge series from wangweidong.a@awinic.com:
      
      Add the awinic,aw88399 property to the awinic,aw88395.yaml file.
      
      Add i2c and amplifier registration for
      aw88399 and their associated operation functions.
      926f192f
  3. Oct 26, 2023