OpenCloudOS-Kernel/sound/soc/mediatek
Mao Wenan ef5dee551e
ASoC: mediatek: Check SND_SOC_CROS_EC_CODEC dependency
If SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A=y,
below errors can be seen:
sound/soc/codecs/cros_ec_codec.o: In function `send_ec_host_command':
cros_ec_codec.c:(.text+0x534): undefined reference to `cros_ec_cmd_xfer_status'
cros_ec_codec.c:(.text+0x101c): undefined reference to `cros_ec_get_host_event'

This is because it will select SND_SOC_CROS_EC_CODEC
after commit 2cc3cd5fdc ("ASoC: mediatek: mt8183: support WoV"),
but SND_SOC_CROS_EC_CODEC depends on CROS_EC.

Fixes: 2cc3cd5fdc ("ASoC: mediatek: mt8183: support WoV")
Signed-off-by: Mao Wenan <maowenan@huawei.com>
Link: https://lore.kernel.org/r/20191023063103.44941-1-maowenan@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-10-23 17:45:34 +01:00
..
common ASoC: mediatek: remove snd_pcm_ops 2019-10-08 13:48:07 +01:00
mt2701 ASoC: mediatek: mt2701: Fix -Wunused-const-variable warnings 2019-08-22 18:29:01 +01:00
mt6797 ASoC: mediatek: remove snd_pcm_ops 2019-10-08 13:48:07 +01:00
mt8173 ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
mt8183 ASoC: mediatek: mt8183: support WoV 2019-10-21 13:52:49 +01:00
Kconfig ASoC: mediatek: Check SND_SOC_CROS_EC_CODEC dependency 2019-10-23 17:45:34 +01:00
Makefile ASoC: mediatek: mt8183: add platform driver 2019-01-25 18:05:10 +00:00