diff options
| author | Mark Brown <broonie@kernel.org> | 2026-09-14 19:52:47 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-14 19:52:47 +0100 |
| commit | f1c78e3edcfeeee1bcc2c69250bdba53b1f0fe55 (patch) | |
| tree | 64aee631beb6c36ab26ee1513924ab70ade9abbe /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 4b49d276dba291d34e5e4c40a00e3a280353b652 (diff) | |
| parent | e88fd9fe81d729992e270c055bf108a48ec52dea (diff) | |
ASoC: Use devm_of_reserved_mem_device_init()
Mukesh Ojha <mukesh.ojha@oss.qualcomm.com> says:
Several ASoC drivers manually manage reserved memory lifetime by calling
of_reserved_mem_device_init() in probe and of_reserved_mem_device_release()
in remove. This pattern is fragile: any error path between the two that
skips the release leaks the reserved memory region for the lifetime of the
driver.
devm_of_reserved_mem_device_init() was recently introduced to tie the
release to the device's devres lifetime automatically. Convert the affected
ASoC drivers to use it, removing the manual release calls and any wrapper
devres actions.
Link: https://patch.msgid.link/20260902194712.2003414-1-mukesh.ojha@oss.qualcomm.com
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
