On 29 Sep 2020 13:30:41 +0900, Kuninori Morimoto wrote:
soc_pcm_hw_params() does rollback when failed (A), but, it is almost same as soc_pcm_hw_free().
static int soc_pcm_hw_params(xxx) { ... if (ret < 0) goto xxx_err; ... return ret;
[...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/6] ASoC: soc.h: remove for_each_rtd_dais_rollback() commit: 5560d8c6053c98e3ce17b988dde743792ae613c8 [2/6] ASoC: soc-pcm: move soc_pcm_hw_free() next to soc_pcm_hw_params() commit: ab49436eecf5cc779a1ff659ba59c88779685b47 [3/6] ASoC: soc-link: add mark for snd_soc_link_hw_params/free() commit: 918ad772c4e47f26bc1b5040a79336b7063626cf [4/6] ASoC: soc-component: add mark for snd_soc_pcm_component_hw_params/free() commit: 3a36a64a2de4699ef4a2479a7fb2564b85c8fb4e [5/6] ASoC: soc-dai: add mark for snd_soc_dai_hw_params/free() commit: c304c9acb6e60bcc5c4d4b5a72763ca3bdf7d76b [6/6] ASoC: soc-pcm: add soc_pcm_hw_clean() and call it from soc_pcm_hw_params/free() commit: 4662c59688b8db8834aab14f0d37a4f26fc0dd20
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