From 58639667a0ec1f30cc22b299f68b3e26aea6ca2b Mon Sep 17 00:00:00 2001 From: Jerome Brunet Date: Wed, 14 Aug 2019 17:27:12 +0200 Subject: [PATCH 45/94] WIP: ASoC: meson: axg-card: add toacodec support Signed-off-by: Jerome Brunet --- sound/soc/meson/axg-card.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/soc/meson/axg-card.c b/sound/soc/meson/axg-card.c index 1f698ad..3e4f045 100644 --- a/sound/soc/meson/axg-card.c +++ b/sound/soc/meson/axg-card.c @@ -552,7 +552,8 @@ static int axg_card_cpu_is_tdm_iface(struct device_node *np) static int axg_card_cpu_is_codec(struct device_node *np) { - return of_device_is_compatible(np, PREFIX "g12a-tohdmitx"); + return of_device_is_compatible(np, PREFIX "g12a-tohdmitx") || + of_device_is_compatible(np, PREFIX "g12a-toacodec"); } static int axg_card_add_link(struct snd_soc_card *card, struct device_node *np, -- 2.7.1