Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
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
Author Mark Brown Date (Sep 14, 2026, 6:52 PM UTC) Commit
Copy SHA
Parent 4b49d276 4b49d276dba291d34e5e4c40a00e3a280353b652