diff options
author | Frank Li <Frank.Li@nxp.com> | 2024-03-23 18:34:52 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-04-07 14:50:00 +0300 |
commit | 9a5000cf70bcfcb5dd4e5b4bae0a01fb9bdf9fa1 (patch) | |
tree | c06d8a3772eba4a50a82fbf4793aa53251692cb8 /drivers/dma/fsl-edma-main.c | |
parent | 6aa60f79e6794bbbc571ea4e0501b9fcc26026e2 (diff) | |
download | linux-9a5000cf70bcfcb5dd4e5b4bae0a01fb9bdf9fa1.tar.xz |
dmaengine: fsl-edma: clean up chclk and FSL_EDMA_DRV_HAS_CHCLK
No device currently utilizes chclk and FSL_EDMA_DRV_HAS_CHCLK features.
Removes these unused features.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20240323-8ulp_edma-v3-3-c0e981027c05@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/fsl-edma-main.c')
-rw-r--r-- | drivers/dma/fsl-edma-main.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/dma/fsl-edma-main.c b/drivers/dma/fsl-edma-main.c index 2148a7f1ae84..41c71c360ff1 100644 --- a/drivers/dma/fsl-edma-main.c +++ b/drivers/dma/fsl-edma-main.c @@ -483,14 +483,6 @@ static int fsl_edma_probe(struct platform_device *pdev) } } - if (drvdata->flags & FSL_EDMA_DRV_HAS_CHCLK) { - fsl_edma->chclk = devm_clk_get_enabled(&pdev->dev, "mp"); - if (IS_ERR(fsl_edma->chclk)) { - dev_err(&pdev->dev, "Missing MP block clock.\n"); - return PTR_ERR(fsl_edma->chclk); - } - } - ret = of_property_read_variable_u32_array(np, "dma-channel-mask", chan_mask, 1, 2); if (ret > 0) { |