]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dmaengine: fsl-edma: Remove redundant check in fsl_edma_free_chan_resources()
authorZhen Ni <zhen.ni@easystack.cn>
Tue, 14 Oct 2025 02:47:30 +0000 (10:47 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 25 Feb 2026 09:26:10 +0000 (14:56 +0530)
commit490c367b5fbcba6bb653077312c8ef477adf79b5
treee9d67e300b27cf01173dab1b100b18085d629b18
parent6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
dmaengine: fsl-edma: Remove redundant check in fsl_edma_free_chan_resources()

clk_disable_unprepare() is safe to call with a NULL clk, the
FSL_EDMA_DRV_HAS_CHCLK check is reduntante. Clean up redundant checks.

Suggested-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Zhen Ni <zhen.ni@easystack.cn>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20251014024730.751237-1-zhen.ni@easystack.cn
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/fsl-edma-common.c