summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorGolla Nagendra <nagendra.golla@amd.com>2026-06-30 12:18:43 +0530
committerVinod Koul <vkoul@kernel.org>2026-07-02 21:11:50 +0530
commit516ba2d8b7aac4238f9fcbd58579c43c71b9b695 (patch)
treee8a96cb485b23b856d9faa4760710e0787b85635 /include/linux/debugobjects.h
parent887b3119380cde56f648130029062c223341a1b3 (diff)
dmaengine: zynqmp_dma: fix race between runtime PM and device removal
In zynqmp_dma_remove(), runtime PM was disabled only after checking state and doing a manual suspend. This can race with runtime PM in the remove/unbind (rmmod) path. Disable runtime PM first, then suspend only if the device is not already suspended. To prevent any further runtime PM transitions. Fixes: 72dd8b2914b5 ("dmaengine: zynqmp_dma: Add shutdown operation support") Co-developed-by: Prasanna Kumar T S M <ptsm@linux.microsoft.com> Signed-off-by: Prasanna Kumar T S M <ptsm@linux.microsoft.com> Signed-off-by: Golla Nagendra <nagendra.golla@amd.com> Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com> Link: https://patch.msgid.link/20260630064844.705173-2-nagendra.golla@amd.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions