1. 27 Oct, 2023 2 commits
    • 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.orgSigned-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.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      0b383620
  2. 26 Oct, 2023 21 commits
  3. 25 Oct, 2023 17 commits