[PATCH] ASoC: imx-card: Fix refcount issue with of_node_put
Mark Brown
broonie at kernel.org
Tue Sep 13 23:31:58 AEST 2022
On Tue, 13 Sep 2022 17:00:01 +0800, Shengjiu Wang wrote:
> imx_card_parse_of will search all the node with loop,
> if there is defer probe happen in the middle of loop,
> the previous released codec node will be released
> twice, then cause refcount issue.
>
> Here assign NULL to pointer of released nodes to fix
> the issue.
>
> [...]
Applied to
broonie/sound.git for-linus
Thanks!
[1/1] ASoC: imx-card: Fix refcount issue with of_node_put
commit: d56ba9a04d7548d4149c46ec86a0e3cc41a70f4a
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
More information about the Linuxppc-dev
mailing list