Skip to content
Commit 4b048178 authored by Chen Zhou's avatar Chen Zhou Committed by Vinod Koul
Browse files

dmaengine: fsl-qdma: fix duplicated argument to &&



There is duplicated argument to && in function fsl_qdma_free_chan_resources,
which looks like a typo, pointer fsl_queue->desc_pool also needs NULL check,
fix it.
Detected with coccinelle.

Fixes: b092529e ("dmaengine: fsl-qdma: Add qDMA controller driver for Layerscape SoCs")
Signed-off-by: default avatarChen Zhou <chenzhou10@huawei.com>
Reviewed-by: default avatarPeng Ma <peng.ma@nxp.com>
Tested-by: default avatarPeng Ma <peng.ma@nxp.com>
Link: https://lore.kernel.org/r/20200120125843.34398-1-chenzhou10@huawei.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 2bd8010a
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