linux/sound/soc/amd
Enric Balletbo i Serra e7e2afeaca
ASoC: amd: AMD RV RT5682 should depends on CROS_EC
If SND_SOC_AMD_RV_RT5682_MACH=y, below kconfig and build errors can be seen:

 WARNING: unmet direct dependencies detected for SND_SOC_CROS_EC_CODEC
 WARNING: unmet direct dependencies detected for I2C_CROS_EC_TUNNEL

 ld: drivers/i2c/busses/i2c-cros-ec-tunnel.o: in function `ec_i2c_xfer':
 i2c-cros-ec-tunnel.c:(.text+0x2fc): undefined reference to `cros_ec_cmd_xfer_status'
 ld: sound/soc/codecs/cros_ec_codec.o: in function `wov_host_event':
 cros_ec_codec.c:(.text+0x4fb): undefined reference to `cros_ec_get_host_event'
 ld: sound/soc/codecs/cros_ec_codec.o: in function `send_ec_host_command':
 cros_ec_codec.c:(.text+0x831): undefined reference to `cros_ec_cmd_xfer_status'

This is because it will select SND_SOC_CROS_EC_CODEC and I2c_CROS_EC_TUNNEL but
both depends on CROS_EC.

Fixes: 6b8e4e7db3 ("ASoC: amd: Add machine driver for Raven based platform")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/20200303110514.3267126-1-enric.balletbo@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-03-03 14:16:22 +00:00
..
include
raven ASoC: amd: Allow I2S wake event after ACP is powerd On 2020-02-26 18:14:15 +00:00
acp3x-rt5682-max9836.c ASoc: amd: Add DMIC switch capability to machine driver 2020-03-02 14:31:44 +00:00
acp-da7219-max98357a.c ASoC: AMD: Enable clk in startup intead of hw_params 2019-11-27 12:50:08 +00:00
acp-pcm-dma.c ASoC: amd: Drop superfluous ioctl PCM ops 2019-12-11 15:55:28 +00:00
acp-rt5645.c ASoC: amd: acp-rt5645: use modern dai_link style 2019-06-06 21:38:04 +01:00
acp.h ASoC: use DMA addr rather than CPU pa for acp_audio_dma 2018-12-06 12:53:04 +00:00
Kconfig ASoC: amd: AMD RV RT5682 should depends on CROS_EC 2020-03-03 14:16:22 +00:00
Makefile ASoC: amd: Add machine driver for Raven based platform 2020-02-26 18:14:13 +00:00