spi: pic32: fix dma channels termination
authorCezary Gapinski <cezary.gapinski@gmail.com>
Tue, 26 Mar 2019 21:48:59 +0000 (22:48 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 1 Apr 2019 08:24:47 +0000 (15:24 +0700)
commit94b18a86eb5c82c5778bfb1ce815651f0e331bb5
tree317051607a9d2fd17d1908443c0c27fcf44739dd
parent0e694df356c0a24ca0de27cca8f70d900969988a
spi: pic32: fix dma channels termination

When timeout occurs DMA TX and RX channels should be stopped
instead of stopping RX channel twice time.

Signed-off-by: Cezary Gapinski <cezary.gapinski@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pic32.c