1. 24 Jul, 2020 1 commit
  2. 29 Jun, 2020 1 commit
    • Geert Uytterhoeven's avatar
      ASoC: qcom: Drop HAS_DMA dependency to fix link failure · b6aa06de
      Geert Uytterhoeven authored
      When building on allyesconfig kernel for a NO_DMA=y platform (e.g.
      Sun-3), CONFIG_SND_SOC_QCOM_COMMON=y, but CONFIG_SND_SOC_QDSP6_AFE=n,
      leading to a link failure:
      
          sound/soc/qcom/common.o: In function `qcom_snd_parse_of':
          common.c:(.text+0x2e2): undefined reference to `q6afe_is_rx_port'
      
      While SND_SOC_QDSP6 depends on HAS_DMA, SND_SOC_MSM8996 and SND_SOC_SDM845
      don't, so the following warning is seen:
      
          WARNING: unmet direct dependencies detected for SND_SOC_QDSP6
            Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && QCOM_APR [=y] && HAS_DMA [=n]
            Selected by [y]:
            - SND_SOC_MSM8996 [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && QCOM_APR [=y]
            - SND_SOC_SDM845 [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && QCOM_APR [=y] && CROS_EC [=y] && I2C [=y] && SOUNDWIRE [=y]
      
      Until recently, this warning was harmless (from a compile-testing
      point-of-view), but the new user of q6afe_is_rx_port() turned this into
      a hard failure.
      
      As the QDSP6 driver itself builds fine if NO_DMA=y, and it depends on
      QCOM_APR (which in turns depends on ARCH_QCOM || COMPILE_TEST), it is
      safe to increase compile testing coverage.  Hence fix the link failure
      by dropping the HAS_DMA dependency of SND_SOC_QDSP6.
      
      Fixes: a2120089 ("ASoC: qcom: common: set correct directions for dailinks")
      Fixes: 6b1687bf ("ASoC: qcom: add sdm845 sound card support")
      Fixes: a6f933f6
      
       ("ASoC: qcom: apq8096: Add db820c machine driver")
      Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Link: https://lore.kernel.org/r/20200629122443.21736-1-geert@linux-m68k.org
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      b6aa06de
  3. 19 Jun, 2020 1 commit
  4. 18 Mar, 2020 1 commit
  5. 07 Oct, 2019 1 commit
  6. 02 Sep, 2019 1 commit
  7. 21 May, 2019 1 commit
  8. 11 Mar, 2019 1 commit
  9. 26 Feb, 2019 1 commit
  10. 18 Feb, 2019 1 commit
  11. 15 Jan, 2019 1 commit
  12. 14 Dec, 2018 1 commit
  13. 11 Dec, 2018 1 commit
  14. 06 Aug, 2018 1 commit
  15. 02 Aug, 2018 1 commit
  16. 01 Aug, 2018 1 commit
  17. 21 May, 2018 7 commits
  18. 17 May, 2018 1 commit
  19. 11 May, 2018 1 commit
  20. 18 Apr, 2018 1 commit
  21. 12 Mar, 2016 1 commit
    • Sudip Mukherjee's avatar
      ASoC: qcom: fix build error · 568cecf4
      Sudip Mukherjee authored
      
      While building m32r allmodconfig the build failed with:
      ERROR: "bad_dma_ops" [sound/soc/qcom/snd-soc-lpass-platform.ko] undefined!
      ERROR: "dma_common_mmap" [sound/soc/qcom/snd-soc-lpass-platform.ko] undefined!
      
      To satisfy the dependency CONFIG_SND_SOC_LPASS_PLATFORM should depend
      on HAS_DMA.
      Some other configs also needs the dependency on HAS_DMA as they are
      directly or indirectly selecting SND_SOC_LPASS_PLATFORM.
      Signed-off-by: default avatarSudip Mukherjee <sudip.mukherjee@codethink.co.uk>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      568cecf4
  22. 07 Jul, 2015 2 commits
  23. 10 Jun, 2015 1 commit
  24. 02 Jun, 2015 1 commit
  25. 25 May, 2015 1 commit
  26. 21 May, 2015 2 commits
  27. 16 Mar, 2015 1 commit