dmaengine: xilinx: xdma: Fix Judgment of the return value
authorMinjie Du <duminjie@vivo.com>
Wed, 5 Jul 2023 11:39:12 +0000 (19:39 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 12 Jul 2023 16:52:37 +0000 (22:22 +0530)
commita68b48afc050a9456ed4ed19d8755e0f925b44e6
tree3714a668ddee05d3d35233a832daf57de39e7f96
parentb1e213a9e31c20206f111ec664afcf31cbfe0dbb
dmaengine: xilinx: xdma: Fix Judgment of the return value

Fix: make IS_ERR() judge the devm_ioremap_resource() function return.

Fixes: 17ce252266c7 ("dmaengine: xilinx: xdma: Add xilinx xdma driver")
Signed-off-by: Minjie Du <duminjie@vivo.com>
Acked-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20230705113912.16247-1-duminjie@vivo.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/xdma.c