ASoC: SOF: mediatek: Use str_on_off() helper function
Subsystems (4)
PATCH 1/1 ASoC: SOF: mediatek: Use str_on_off() helper function
Remove hard-coded strings by using the str_on_off() helper function.
--- sound/soc/sof/mediatek/mt8195/mt8195-clk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
sound/soc/sof/mediatek/mt8195/mt8195-clk.c +2 -1
@@ -8,6 +8,7 @@#include <linux/clk.h> #include <linux/io.h> +#include <linux/string_choices.h> #include "mt8195.h" #include "mt8195-clk.h" #include "../adsp_helper.h"
@@ -114,7 +115,7 @@ static int adsp_default_clk_init(struct snd_sof_dev *sdev, bool enable)struct adsp_priv *priv = sdev->pdata->hw_pdata;int ret; -dev_dbg (dev,"%s: %s\n" , __func__, enable ?"on" :"off" ); +dev_dbg (dev,"%s: %s\n" , __func__,str_on_off (enable));if (enable) { ret = clk_set_parent(priv->clk[CLK_TOP_ADSP],
Signature · 1 line
2.48.1
Mark Brown
maintainerQuoted 3 lines · Thorsten Blum
Remove hard-coded strings by using the
str_on_off()helper function.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: SOF: mediatek: Use str_on_off() helper function
commit: 3f75771987f32a9f512c8944e70e343f8c6d71c1
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark