diff options
| author | 2026-08-22 19:22:03 +0000 | |
|---|---|---|
| committer | 2026-09-09 17:51:44 +0530 | |
| commit | 424103642d009f5a7dc33300a49d5606d1bf4fb5 (patch) | |
| tree | 97391350a2b9dcf109a8226e51efc48fb5f4f3cf /scripts/Makefile.thinlto | |
| parent | dmaengine: sprd: Fix runtime PM reference leak in probe (diff) | |
dmaengine: add dma_device_get() helper
Add dma_device_get() helper to match dma_device_put() to make code
symmetric. It wraps open-coded kref_get_unless_zero() and asserts that
dma_list_mutex is held, matching its put counterpart.
No functional change intended.
Suggested-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Shivank Garg <shivankg@amd.com>
Link: https://patch.msgid.link/20260822-dmaengine-kref-fix-v5-1-d4a4ee47d927@amd.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
