]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: mmp_pdma: Do not warn when IRQ is shared by all chans
authorLubomir Rintel <lkundrak@v3.sk>
Mon, 1 Jun 2020 19:23:37 +0000 (21:23 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 16 Jun 2020 16:28:59 +0000 (21:58 +0530)
commit5d9c38c76d9f16de7fe4b1225414bb2c658de878
tree6a648635f6e9dee5edd219e5d64e3516132600c7
parent2e11086629d1325f7c1da21fdb6013b8937dc3b8
dmaengine: mmp_pdma: Do not warn when IRQ is shared by all chans

When there's a single interrupt for all the DMA channels, the
unsuccessful attempt to request separate IRQs emits useless warnings:

  [    1.370381] mmp-pdma d4000000.dma: IRQ index 1 not found
  ...
  [    1.412398] mmp-pdma d4000000.dma: IRQ index 15 not found
  [    1.418308] mmp-pdma d4000000.dma: initialized 16 channels

Avoid that, treating the IRQs as optional.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Link: https://lore.kernel.org/r/20200601192337.172869-1-lkundrak@v3.sk
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/mmp_pdma.c