1. 24 Nov, 2022 1 commit
  2. 18 Oct, 2022 1 commit
    • Randy Dunlap's avatar
      ASoC: qcom: SND_SOC_SC7180 optionally depends on SOUNDWIRE · 9a7f2c9e
      Randy Dunlap authored
      If SOUNDWIRE is enabled, then SND_SOC_SC7180 should depend on
      SOUNDWIRE to prevent SOUNDWIRE=m and SND_SOC_SC7180=y, which causes
      build errors:
      
      s390-linux-ld: sound/soc/qcom/common.o: in function `qcom_snd_sdw_prepare':
      common.c:(.text+0x140): undefined reference to `sdw_disable_stream'
      s390-linux-ld: common.c:(.text+0x14a): undefined reference to `sdw_deprepare_stream'
      s390-linux-ld: common.c:(.text+0x158): undefined reference to `sdw_prepare_stream'
      s390-linux-ld: common.c:(.text+0x16a): undefined reference to `sdw_enable_stream'
      s390-linux-ld: common.c:(.text+0x17c): undefined reference to `sdw_deprepare_stream'
      s390-linux-ld: sound/soc/qcom/common.o: in function `qcom_snd_sdw_hw_free':
      common.c:(.text+0x344): undefined reference to `sdw_disable_stream'
      s390-linux-ld: common.c:(.text+0x34e): undefined reference to `sdw_deprepare_stream'
      
      Fixes: 3bd975f3 ("ASoC: qcom: sm8250: move some code to common")
      Fixes: 9e3ecb5b
      
       ("ASoC: qcom: sc7180: Add machine driver for sound card registration")
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
      Cc: Banajit Goswami <bgoswami@quicinc.com>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Liam Girdwood <lgirdwood@gmail.com>
      Cc: Ajit Pandey <ajitp@codeaurora.org>
      Cc: Cheng-Yi Chiang <cychiang@chromium.org>
      Cc: Jaroslav Kysela <perex@perex.cz>
      Cc: Takashi Iwai <tiwai@suse.com>
      Cc: stable@vger.kernel.org
      Cc: alsa-devel@alsa-project.org
      Link: https://lore.kernel.org/r/20221015001228.18990-1-rdunlap@infradead.org
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      9a7f2c9e
  3. 30 Sep, 2022 1 commit
  4. 19 Sep, 2022 1 commit
  5. 05 Apr, 2022 1 commit
  6. 09 Mar, 2022 1 commit
  7. 07 Mar, 2022 1 commit
  8. 28 Feb, 2022 1 commit
  9. 24 Feb, 2022 2 commits
  10. 23 Feb, 2022 1 commit
  11. 10 Feb, 2022 1 commit
  12. 29 Nov, 2021 1 commit
  13. 26 Oct, 2021 6 commits
  14. 22 Oct, 2021 1 commit
    • Julian Braha's avatar
      ASoC: fix unmet dependency on GPIOLIB · 6cace797
      Julian Braha authored
      
      When SND_SOC_SC7180 or SND_SOC_STORM is selected,
      and GPIOLIB is not selected, Kbuild gives the following
      warning:
      
      WARNING: unmet direct dependencies detected for SND_SOC_MAX98357A
        Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && GPIOLIB [=n]
        Selected by [y]:
        - SND_SOC_STORM [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && SND_SOC_QCOM [=y]
        - SND_SOC_SC7180 [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && SND_SOC_QCOM [=y] && I2C [=y]
      
      This is because SND_SOC_MAX98357A is selected
      by SND_SOC_STORM and SND_SOC_SC7180, but
      these config options do not select or depend on
      GPIOLIB, despite SND_SOC_MAX98357A depending on
      GPIOLIB.
      
      These unmet dependency bugs were detected by Kismet,
      a static analysis tool for Kconfig. Please advise if this
      is not the appropriate solution.
      Signed-off-by: default avatarJulian Braha <julianbraha@gmail.com>
      Link: https://lore.kernel.org/r/20211010215627.17869-1-julianbraha@gmail.com
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      6cace797
  15. 04 Dec, 2020 1 commit
  16. 12 Nov, 2020 1 commit
  17. 27 Oct, 2020 1 commit
  18. 26 Oct, 2020 1 commit
  19. 08 Oct, 2020 1 commit
  20. 02 Oct, 2020 1 commit
    • Randy Dunlap's avatar
      ASoC: qcom: fix SDM845 & QDSP6 dependencies more · 2bc8831b
      Randy Dunlap authored
      Fix a build error and Kconfig warning in sound/soc/qcom/.
      
      ld: sound/soc/qcom/qdsp6/q6afe-clocks.o: in function `q6afe_clock_dev_probe':
      q6afe-clocks.c:(.text+0x182): undefined reference to `devm_clk_hw_register'
      ld: q6afe-clocks.c:(.text+0x19d): undefined reference to `of_clk_add_hw_provider'
      
      After adding "depends on COMMON_CLK" for SND_SOC_QDSP6, the Kconfig
      warning appears because "select" does not honor any "depends on"
      clauses, so fix the dependency for SND_SOC_SDM845 also.
      
      WARNING: unmet direct dependencies detected for SND_SOC_QDSP6
        Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && SND_SOC_QCOM [=y] && QCOM_APR [=y] && COMMON_CLK [=n]
        Selected by [y]:
        - SND_SOC_SDM845 [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && SND_SOC_QCOM [=y] && QCOM_APR [=y] && I2C [=y] && SOUNDWIRE [=y]
      
      Fixes: 520a1c39
      
       ("ASoC: q6afe-clocks: add q6afe clock controller")
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Jaroslav Kysela <perex@perex.cz>
      Cc: Takashi Iwai <tiwai@suse.com>
      Reviewed-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
      Link: https://lore.kernel.org/r/20201001183537.5781-1-rdunlap@infradead.org
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      2bc8831b
  21. 17 Sep, 2020 1 commit
  22. 18 Aug, 2020 1 commit
  23. 17 Aug, 2020 1 commit
  24. 24 Jul, 2020 1 commit
  25. 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
  26. 19 Jun, 2020 1 commit
  27. 18 Mar, 2020 1 commit
  28. 07 Oct, 2019 1 commit
  29. 02 Sep, 2019 1 commit
  30. 21 May, 2019 1 commit
  31. 11 Mar, 2019 1 commit
  32. 26 Feb, 2019 1 commit
  33. 18 Feb, 2019 1 commit
  34. 15 Jan, 2019 1 commit