[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175863297892.1081221.9696569570789415839.b4-ty@kernel.org>
Date: Tue, 23 Sep 2025 15:09:38 +0200
From: Mark Brown <broonie@...nel.org>
To: srini@...nel.org, lgirdwood@...il.com, perex@...ex.cz, tiwai@...e.com,
pierre-louis.bossart@...ux.dev, dmitry.baryshkov@....qualcomm.com,
Ma Ke <make24@...as.ac.cn>
Cc: linux-sound@...r.kernel.org, linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
stable@...r.kernel.org
Subject: Re: [PATCH v4] ASoC: wcd934x: fix error handling in
wcd934x_codec_parse_data()
On Tue, 23 Sep 2025 14:52:12 +0800, Ma Ke wrote:
> wcd934x_codec_parse_data() contains a device reference count leak in
> of_slim_get_device() where device_find_child() increases the reference
> count of the device but this reference is not properly decreased in
> the success path. Add put_device() in wcd934x_codec_parse_data() and
> add devm_add_action_or_reset() in the probe function, which ensures
> that the reference count of the device is correctly managed.
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: wcd934x: fix error handling in wcd934x_codec_parse_data()
commit: 4e65bda8273c938039403144730923e77916a3d7
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
Powered by blists - more mailing lists