Skip to content
Commit bffa7218 authored by Yang Yingliang's avatar Yang Yingliang Committed by Vinod Koul
Browse files

dmaengine: fsl-edma: fix wrong pointer check in fsl_edma3_attach_pd()



device_link_add() returns NULL pointer not PTR_ERR() when it fails,
so replace the IS_ERR() check with NULL pointer check.

Fixes: 72f5801a ("dmaengine: fsl-edma: integrate v3 support")
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20231129090000.841440-1-yangyingliang@huaweicloud.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 0c154698
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment