ASoC: simple-card-utils: use for_each_pcm_streams()
Kuninori Morimoto
maintainerPATCH 1/1 ASoC: simple-card-utils: use for_each_pcm_streams()
From: Kuninori Morimoto <[email protected]>
We already have for_each_pcm_streams() macro.
Let's use it.
--- sound/soc/generic/simple-card-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/generic/simple-card-utils.c +1 -1
@@ -347,7 +347,7 @@ static int asoc_simple_init_dai_link_params(struct snd_soc_pcm_runtime *rtd, }/* Assumes the capabilities are the same for all supported streams */ -for (stream =0 ; stream <2 ; stream++) { +for_each_pcm_streams (stream) { ret =snd_soc_runtime_calc_hw (rtd, &hw, stream);if (ret ==0 )break ;
Signature · 1 line
2.17.1
Mark Brown
maintainerApplied "ASoC: simple-card-utils: use for_each_pcm_streams()" to the asoc tree
The patch
ASoC: simple-card-utils: use for_each_pcm_streams()
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
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
From 40a92dbcbc32d7dfbf186dfb1e27ee55d1df2f64 Mon Sep 17 00:00:00 2001
From: Kuninori Morimoto <[email protected]>
Date: Mon, 9 Mar 2020 13:02:37 +0900
Subject: [PATCH] ASoC: simple-card-utils: use for_each_pcm_streams()
We already have for_each_pcm_streams() macro.
Let's use it.
--- sound/soc/generic/simple-card-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/generic/simple-card-utils.c +1 -1
@@ -347,7 +347,7 @@ static int asoc_simple_init_dai_link_params(struct snd_soc_pcm_runtime *rtd, }/* Assumes the capabilities are the same for all supported streams */ -for (stream =0 ; stream <2 ; stream++) { +for_each_pcm_streams (stream) { ret =snd_soc_runtime_calc_hw (rtd, &hw, stream);if (ret ==0 )break ;
Signature · 1 line
2.20.1