dmaengine: ti: edma: add missed operations
mainline inclusion from mainline-v5.6-rc1 commit 2a03c131 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/I9E2MP CVE: CVE-2024-26771 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2a03c1314506557277829562dd2ec5c11a6ea914 -------------------------------- The driver forgets to call pm_runtime_disable and pm_runtime_put_sync in probe failure and remove. Add the calls and modify probe failure handling to fix it. To simplify the fix, the patch adjusts the calling order and merges checks for devm_kcalloc. Fixes: 2b6b3b74 ("ARM/dmaengine: edma: Merge the two drivers under drivers/dma/") Signed-off-by:Chuhong Yuan <hslester96@gmail.com> Acked-by:
Peter Ujfalusi <peter.ujfalusi@ti.com> Link: https://lore.kernel.org/r/20191124052855.6472-1-hslester96@gmail.com Signed-off-by:
Vinod Koul <vkoul@kernel.org> Conflicts: drivers/dma/ti/edma.c Signed-off-by:
GUO Zihua <guozihua@huawei.com>
Loading
Please sign in to comment