diff options
author | Andy Shevchenko <[email protected]> | 2014-09-12 15:11:58 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2014-09-13 17:01:57 +0100 |
commit | fb57862ead652454ceeb659617404c5f13bc34b5 (patch) | |
tree | fbb408839ae0cd552828a8b29fa5ec4cf625558a /tools/perf/util/trace-event-scripting.c | |
parent | 05ed2aee3e97c9cfb737388706b439264e27eb0c (diff) |
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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions