mirror of
https://github.com/armbian/build.git
synced 2025-08-12 06:06:58 +02:00
* Attach Meson64 CURRENT to 5.6.y and make DEV = CURRENT at this point. There is a lot of changes to 5.7.y and can be done after release or by someone that feels a need for this right now. * Delete meson64_fclk_div3.patch this fix has been upstream for some time, I had issues with it on 5.4, which is why it had been removed there. * [ meson64 current ] kconfig tweak disable Rockchip SoC drivers * [ meson64 current ] remove rockchip patches * [ meson64 current ] disable CMA patch GX * [ meson64 current] add libretech cc audio patch This brings the dts even with the khilman 5.8/integ branch which includes all of the audio changes. The kernel is registering audio devices, however nothing comes out. committed in case someone wants to spend time debugging/testing theories. * fix permissions was editing from another machine, accidental change of permissions in the patch * Set default mixer settings Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com> * [ meson64 current ] GXL audio commit This moves to the mainline patches and covers le potato and la frite. Adjusted asound config to handle a commonized sound card name. * [ meson64 current ] add gxbb audio WIP Playback is too fast, a clock setting is off somewhere. * Update kernel configs Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com> Co-authored-by: Tony <tonymckahan@gmail.com>
43 lines
1.4 KiB
Diff
43 lines
1.4 KiB
Diff
From dc11cd4def83817faebd97368da4652c9f0fe17e Mon Sep 17 00:00:00 2001
|
|
From: Jerome Brunet <jbrunet@baylibre.com>
|
|
Date: Thu, 13 Feb 2020 16:51:51 +0100
|
|
Subject: [PATCH 011/101] FROMGIT: ASoC: core: allow a dt node to provide
|
|
several components
|
|
|
|
At the moment, querying the dai_name will stop of the first component
|
|
matching the dt node. This does not allow a device (single dt node) to
|
|
provide several ASoC components which could then be used through DT.
|
|
|
|
This change let the search go on if the xlate function of the component
|
|
returns an error, giving the possibility to another component to match
|
|
and return the dai_name.
|
|
|
|
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
|
|
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
|
|
---
|
|
sound/soc/soc-core.c | 8 ++++++++
|
|
1 file changed, 8 insertions(+)
|
|
|
|
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
|
|
index 068d809c349a..03b87427faa7 100644
|
|
--- a/sound/soc/soc-core.c
|
|
+++ b/sound/soc/soc-core.c
|
|
@@ -3102,6 +3102,14 @@ int snd_soc_get_dai_name(struct of_phandle_args *args,
|
|
*dai_name = dai->driver->name;
|
|
if (!*dai_name)
|
|
*dai_name = pos->name;
|
|
+ } else if (ret) {
|
|
+ /*
|
|
+ * if another error than ENOTSUPP is returned go on and
|
|
+ * check if another component is provided with the same
|
|
+ * node. This may happen if a device provides several
|
|
+ * components
|
|
+ */
|
|
+ continue;
|
|
}
|
|
|
|
break;
|
|
--
|
|
2.17.1
|
|
|