linux/sound/soc/qcom
Randy Dunlap 2bc8831b13
ASoC: qcom: fix SDM845 & QDSP6 dependencies more
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: 520a1c396d ("ASoC: q6afe-clocks: add q6afe clock controller")
Signed-off-by: Randy 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: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20201001183537.5781-1-rdunlap@infradead.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-10-02 15:49:11 +01:00
..
qdsp6 ASoC: q6afe-clocks: Fix typo in SPDX Licence 2020-09-28 11:32:13 +01:00
apq8016_sbc.c ASoC: qcom: Set card->owner to avoid warnings 2020-08-21 16:12:10 +01:00
apq8096.c ASoC: qcom: Set card->owner to avoid warnings 2020-08-21 16:12:10 +01:00
common.c Merge branch 'asoc-5.9' into asoc-5.10 2020-09-17 16:35:38 +01:00
common.h ASoC: qcom: remove unused header files from common.h 2018-08-06 12:50:07 +01:00
Kconfig ASoC: qcom: fix SDM845 & QDSP6 dependencies more 2020-10-02 15:49:11 +01:00
lpass-apq8016.c ASoC: qcom: add missing out of memory check on drvdata->clks allocation 2020-08-20 20:30:33 +01:00
lpass-cpu.c ASoC: qcom: lpass-cpu: Enable MI2S BCLK and LRCLK together 2020-09-25 20:50:40 +01:00
lpass-ipq806x.c ASoC: qcom: lpass: Use regmap_field for i2sctl and dmactl registers 2020-08-17 14:39:29 +01:00
lpass-lpaif-reg.h ASoC: qcom: lpass: Use regmap_field for i2sctl and dmactl registers 2020-08-17 14:39:29 +01:00
lpass-platform.c ASoC: lpass-platform: use devm_regmap_field_bulk_alloc 2020-09-28 20:51:36 +01:00
lpass-sc7180.c ASoC: qcom: lpass-sc7180: Add MODULE_DEVICE_TABLE 2020-09-17 17:40:09 +01:00
lpass.h ASoC: qcom: lpass: Use regmap_field for i2sctl and dmactl registers 2020-08-17 14:39:29 +01:00
Makefile ASoC: qcom: lpass-sc7180: Add platform driver for lpass audio 2020-08-17 14:39:31 +01:00
sdm845.c ASoC: qcom: Set card->owner to avoid warnings 2020-08-21 16:12:10 +01:00
storm.c ASoC: qcom: Set card->owner to avoid warnings 2020-08-21 16:12:10 +01:00