This is a note to let you know that I've just added the patch titled spi: dw-mid: terminate ongoing transfers at exit to the 3.16-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: spi-dw-mid-terminate-ongoing-transfers-at-exit.patch and it can be found in the queue-3.16 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 8e45ef682cb31fda62ed4eeede5d9745a0a1b1e2 Mon Sep 17 00:00:00 2001 From: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> Date: Thu, 18 Sep 2014 20:08:53 +0300 Subject: spi: dw-mid: terminate ongoing transfers at exit From: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> commit 8e45ef682cb31fda62ed4eeede5d9745a0a1b1e2 upstream. Do full clean up at exit, means terminate all ongoing DMA transfers. Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> Signed-off-by: Mark Brown <broonie@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/spi/spi-dw-mid.c | 4 ++++ 1 file changed, 4 insertions(+) --- a/drivers/spi/spi-dw-mid.c +++ b/drivers/spi/spi-dw-mid.c @@ -91,7 +91,11 @@ static void mid_spi_dma_exit(struct dw_s { if (!dws->dma_inited) return; + + dmaengine_terminate_all(dws->txchan); dma_release_channel(dws->txchan); + + dmaengine_terminate_all(dws->rxchan); dma_release_channel(dws->rxchan); } Patches currently in stable-queue which might be from andriy.shevchenko@xxxxxxxxxxxxxxx are queue-3.16/spi-dw-mid-terminate-ongoing-transfers-at-exit.patch queue-3.16/pci_ids-add-support-for-intel-quark-ilb.patch queue-3.16/spi-dw-mid-check-that-dma-was-inited-before-exit.patch queue-3.16/spi-dw-mid-respect-8-bit-mode.patch -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html