Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: soc-core: Use str_yes_no() in snd_soc_close_delayed_work()

Remove hard-coded strings by using the str_yes_no() helper function.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20250220120156.1663-2-thorsten.blum@linux.dev
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Thorsten Blum and committed by
Mark Brown
64899904 42ae6e25

+2 -1
+2 -1
sound/soc/soc-core.c
··· 32 32 #include <linux/of_graph.h> 33 33 #include <linux/dmi.h> 34 34 #include <linux/acpi.h> 35 + #include <linux/string_choices.h> 35 36 #include <sound/core.h> 36 37 #include <sound/pcm.h> 37 38 #include <sound/pcm_params.h> ··· 431 430 codec_dai->driver->playback.stream_name, 432 431 snd_soc_dai_stream_active(codec_dai, playback) ? 433 432 "active" : "inactive", 434 - rtd->pop_wait ? "yes" : "no"); 433 + str_yes_no(rtd->pop_wait)); 435 434 436 435 /* are we waiting on this codec DAI stream */ 437 436 if (rtd->pop_wait == 1) {