diff options
| author | Mark Brown <broonie@kernel.org> | 2026-06-02 16:10:37 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-06-02 16:10:37 +0100 |
| commit | ba9ea6b3d28225a47e947a67690211c499b94ae3 (patch) | |
| tree | f0a818e5421b73d5fbbc0e2989fea21394b7ef3e /include/linux/debugobjects.h | |
| parent | 0cf3489bba9ad13aae052232e223e19a620fe7a7 (diff) | |
| parent | f0334fbfd107682d0c95f3f71e25f6127038e2b9 (diff) | |
ASoC: mediatek: mt8183: Fix probe resource cleanup
Cássio Gabriel <cassiogabrielcontato@gmail.com> says:
The MT8183 AFE probe has two cleanup gaps that match issues
recently fixed in newer MediaTek AFE drivers.
First, reserved memory assigned with of_reserved_mem_device_init()
is never released on driver removal or later probe failures.
Second, the probe-time runtime PM resume used before reinitializing
the regmap cache is unchecked, and a regmap_reinit_cache() failure
skips the temporary PM put.
Fix both issues with a devm reserved-memory release action and
checked runtime PM resume handling.
Link: https://patch.msgid.link/20260527-asoc-mt8183-probe-cleanup-v1-0-4f4f5593c8d1@gmail.com
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
