* [PATCH] ASoC: dapm-graph: Handle sourd card with space in name
@ 2025-11-06 16:58 Yiwei Lin
2025-11-07 9:26 ` Luca Ceresoli
2025-11-07 11:01 ` Markus Elfring
0 siblings, 2 replies; 4+ messages in thread
From: Yiwei Lin @ 2025-11-06 16:58 UTC (permalink / raw)
To: luca.ceresoli; +Cc: linux-sound, linux-kernel, Yiwei Lin
When the name of the sound card has a space between, the
script will fail to output the dot file. Consider the
case to generate it correctly.
Signed-off-by: Yiwei Lin <s921975628@gmail.com>
---
tools/sound/dapm-graph | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/sound/dapm-graph b/tools/sound/dapm-graph
index b6196ee50..22993317d 100755
--- a/tools/sound/dapm-graph
+++ b/tools/sound/dapm-graph
@@ -174,7 +174,7 @@ process_dapm_component()
# Extract directory name into component name:
# "./cs42l51.0-004a/dapm" -> "cs42l51.0-004a"
- c_name="$(basename $(dirname "${c_dir}"))"
+ c_name="$(basename "$(dirname "${c_dir}")")"
fi
dbg_echo " * Component: ${c_name}"
@@ -201,7 +201,7 @@ process_dapm_component()
>"${links_file}"
# Iterate over widgets in the component dir
- for w_file in ${c_dir}/*; do
+ for w_file in "${c_dir}"/*; do
process_dapm_widget "${tmp_dir}" "${c_name}" "${w_file}"
done
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] ASoC: dapm-graph: Handle sourd card with space in name
2025-11-06 16:58 [PATCH] ASoC: dapm-graph: Handle sourd card with space in name Yiwei Lin
@ 2025-11-07 9:26 ` Luca Ceresoli
2025-11-07 11:01 ` Markus Elfring
1 sibling, 0 replies; 4+ messages in thread
From: Luca Ceresoli @ 2025-11-07 9:26 UTC (permalink / raw)
To: Yiwei Lin; +Cc: linux-sound, linux-kernel
Hello Yiwei,
On Thu Nov 6, 2025 at 5:58 PM CET, Yiwei Lin wrote:
> When the name of the sound card has a space between, the
> script will fail to output the dot file. Consider the
> case to generate it correctly.
>
> Signed-off-by: Yiwei Lin <s921975628@gmail.com>
Thanks for your patch!
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ASoC: dapm-graph: Handle sourd card with space in name
2025-11-06 16:58 [PATCH] ASoC: dapm-graph: Handle sourd card with space in name Yiwei Lin
2025-11-07 9:26 ` Luca Ceresoli
@ 2025-11-07 11:01 ` Markus Elfring
2025-11-07 16:27 ` Yiwei Lin
1 sibling, 1 reply; 4+ messages in thread
From: Markus Elfring @ 2025-11-07 11:01 UTC (permalink / raw)
To: Yiwei Lin, linux-sound, Luca Ceresoli; +Cc: LKML
> When the name of the sound card has a space between, the
> script will fail to output the dot file. Consider the
> case to generate it correctly.
* You may occasionally put more than 56 characters into text lines
of such a change description.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.18-rc4#n658
* I hope that a typo will be avoided for the summary phrase finally.
Regards,
Markus
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-11-07 16:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-06 16:58 [PATCH] ASoC: dapm-graph: Handle sourd card with space in name Yiwei Lin
2025-11-07 9:26 ` Luca Ceresoli
2025-11-07 11:01 ` Markus Elfring
2025-11-07 16:27 ` Yiwei Lin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox