Andy Shevchenko fb57862ead spi: dw-mid: check that DMA was inited before exit
If the driver was compiled with DMA support, but DMA channels weren't acquired
by some reason, mid_spi_dma_exit() will crash the kernel.

Fixes: 7063c0d942a1 (spi/dw_spi: add DMA support)
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2014-09-13 17:01:57 +01:00
..
2014-04-14 20:44:15 +01:00
2014-09-13 17:01:56 +01:00
2014-09-13 17:01:56 +01:00
2014-08-08 11:00:26 -07:00
2014-07-07 12:50:52 +02:00
2014-08-05 16:18:13 -07:00