On Tue, 03 Oct 2023 17:55:51 +0200, Johan Hovold wrote:
The wcd938x codec driver happily ignores error handling, something which has bitten us in the past when we hit a probe deferral:
https://lore.kernel.org/lkml/20230705123018.30903-1-johan+linaro@kernel.org/
Fix up the remaining probe and component bind paths that left resources allocated and registered after errors to avoid similar future issues.
[...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/7] ASoC: codecs: wcd938x: drop bogus bind error handling commit: bfbc79de60c53e5fed505390440b87ef59ee268c [2/7] ASoC: codecs: wcd938x: fix unbind tear down order commit: fa2f8a991ba4aa733ac1c3b1be0c86148aa4c52c [3/7] ASoC: codecs: wcd938x: fix resource leaks on bind errors commit: da29b94ed3547cee9d510d02eca4009f2de476cf [4/7] ASoC: codecs: wcd938x: fix regulator leaks on probe errors commit: 69a026a2357ee69983690d07976de44ef26ee38a [5/7] ASoC: codecs: wcd938x: fix runtime PM imbalance on remove commit: 3ebebb2c1eca92a15107b2d7aeff34196fd9e217 [6/7] ASoC: codecs: wcd938x-sdw: fix use after free on driver unbind commit: f0dfdcbe706462495d47982eecd13a61aabd644d [7/7] ASoC: codecs: wcd938x-sdw: fix runtime PM imbalance on probe errors commit: c5c0383082eace13da2ffceeea154db2780165e7
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