mirror of
https://github.com/Fishwaldo/build.git
synced 2025-05-01 20:51:28 +00:00
* Attach Meson64 to mainline with a bunch of patches. Tested, but need further work. * Enable DVFS on N2 which sometimes works, sometime doesn't, cleanup * Enable beta targets for Meson64 kernel family * Bump with version
27 lines
954 B
Diff
27 lines
954 B
Diff
From 58639667a0ec1f30cc22b299f68b3e26aea6ca2b Mon Sep 17 00:00:00 2001
|
|
From: Jerome Brunet <jbrunet@baylibre.com>
|
|
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 <jbrunet@baylibre.com>
|
|
---
|
|
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
|
|
|