dmaengine: at_xdmac: only monitor overflow errors for peripheral xfer
authorNicolas Ferre <nicolas.ferre@microchip.com>
Wed, 3 Apr 2019 10:23:59 +0000 (12:23 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 23 Apr 2019 05:08:56 +0000 (10:38 +0530)
commit38a829a389e33d571a3c599fa762d88b3d1f72c4
tree8eb5385f7490a6322454b6c4ffaa564a6cd2a071
parent223a4f4cfe93de2fce47a8f1f719cf4d0da4e3e6
dmaengine: at_xdmac: only monitor overflow errors for peripheral xfer

The overflow error flag (ROI: Request Overflow Error) is only relevant
for the case when the channel handles a peripheral synchronized transfer.
Not in the case of memory to memory transfer where there is no hardware
request signal.

Remove the use of this interrupt source in such a case. It's based on
the first descriptor which holds the configuration for the whole
linked list transfer.

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/at_xdmac.c