diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2019-10-04 18:08:26 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-11-02 19:25:19 +0300 |
commit | 41814c4eadf8a791b6d07114f96e7e120e59555c (patch) | |
tree | ae38c71f36fdf5c362fde43f25be5521113daabb /drivers/dma/fsl-dpaa2-qdma | |
parent | 53596dfa59807d6e4a30e9f157f73cfc14d7da89 (diff) | |
download | linux-41814c4eadf8a791b6d07114f96e7e120e59555c.tar.xz |
dmaengine: fsl-qdma: Handle invalid qdma-queue0 IRQ
platform_get_irq_byname() might return -errno which later would be cast
to an unsigned int and used in IRQ handling code leading to usage of
wrong ID and errors about wrong irq_base.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Peng Ma <peng.ma@nxp.com>
Tested-by: Peng Ma <peng.ma@nxp.com>
Link: https://lore.kernel.org/r/20191004150826.6656-1-krzk@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/fsl-dpaa2-qdma')
0 files changed, 0 insertions, 0 deletions