On Thu, Jul 02, 2026 at 04:54:20PM +0800, Jie Gan wrote:
[...]
Resume the device with pm_runtime_get_sync() before tearing it down so the clock is enabled again and balances the devm-managed disable. Then pm_runtime_set_suspended() and pm_runtime_put_noidle() leave the device in a coherent runtime PM state (suspended, usage count balanced) once the devm action has disabled the clock.
Fixes: 1abc1b212eff ("coresight: Appropriately disable programming clocks") Signed-off-by: Jie Gan jie.gan@oss.qualcomm.com
Reviewed-by: Leo Yan leo.yan@arm.com