diff options
| author | Md Shofiqul Islam <shofiqtest@gmail.com> | 2026-05-06 18:41:14 +0300 |
|---|---|---|
| committer | Nishanth Menon <nm@ti.com> | 2026-05-15 16:19:55 +0300 |
| commit | 10a1969353b20caa50c320717e054601631c0d3e (patch) | |
| tree | 0426d7013253da0599bbfa729d6565fa0cda8adb /include/linux/debugobjects.h | |
| parent | b920352cfd2b0fcd1249ff006618c939b64fc8f7 (diff) | |
| download | linux-10a1969353b20caa50c320717e054601631c0d3e.tar.xz | |
soc: ti: knav_qmss_queue: Implement resource cleanup in remove()
Implement the TODO in knav_queue_remove() by stopping PDSPs and
freeing queue regions and queue ranges before disabling runtime PM,
mirroring the cleanup performed in the probe error path.
Set device_ready to false before cleanup to prevent any further
use of the device during teardown.
This ensures resources are released on driver unbind and avoids
leaking queue/region state.
Suggested-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Md Shofiqul Islam <shofiqtest@gmail.com>
Link: https://lore.kernel.org/linux-arm-kernel/20260506154114.2288-1-shofiqtest@gmail.com/
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
