diff options
| author | Jerome Brunet <[email protected]> | 2020-02-21 16:36:07 +0100 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2020-02-21 16:39:05 +0000 |
| commit | b38c4a8a0291c31a660cd77761202ebb18332fb7 (patch) | |
| tree | 872d00c6d63d09bf365a6dfcbb69c6690929b946 | |
| parent | af2618a2eee8531e134c42194143c2f4faef94ba (diff) | |
ASoC: meson: axg-card: add toacodec support
Make sure the axg audio card driver recognise the dai_link as a
codec-to-codec link if the cpu dai is the internal dac glue.
Signed-off-by: Jerome Brunet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
| -rw-r--r-- | sound/soc/meson/axg-card.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/meson/axg-card.c b/sound/soc/meson/axg-card.c index 372dc696cc8e..48651631bdcf 100644 --- a/sound/soc/meson/axg-card.c +++ b/sound/soc/meson/axg-card.c @@ -303,7 +303,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, DT_PREFIX "g12a-tohdmitx"); + return of_device_is_compatible(np, DT_PREFIX "g12a-tohdmitx") || + of_device_is_compatible(np, DT_PREFIX "g12a-toacodec"); } static int axg_card_add_link(struct snd_soc_card *card, struct device_node *np, |