diff options
author | Chen Zhou <chenzhou10@huawei.com> | 2020-01-20 20:58:43 +0800 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-01-21 13:15:37 +0530 |
commit | 4b048178854da11656596d36a107577d66fd1e08 (patch) | |
tree | 0922498e7f14574793874d6e9e52e7a5a7bf9365 /drivers/dma/fsl-edma.c | |
parent | 2bd8010a618c9181dd8d49097a1c72fd396c632e (diff) | |
download | talos-op-linux-4b048178854da11656596d36a107577d66fd1e08.tar.gz talos-op-linux-4b048178854da11656596d36a107577d66fd1e08.zip |
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: b092529e0aa0 ("dmaengine: fsl-qdma: Add qDMA controller driver for Layerscape SoCs")
Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
Reviewed-by: Peng Ma <peng.ma@nxp.com>
Tested-by: Peng Ma <peng.ma@nxp.com>
Link: https://lore.kernel.org/r/20200120125843.34398-1-chenzhou10@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/fsl-edma.c')
0 files changed, 0 insertions, 0 deletions