projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'fixes-for-v3.18-rc2' of https://github.com/rjarzmik/linux into fixes
[cascardo/linux.git]
/
drivers
/
dma
/
edma.c
diff --git
a/drivers/dma/edma.c
b/drivers/dma/edma.c
index
7b65633
..
123f578
100644
(file)
--- a/
drivers/dma/edma.c
+++ b/
drivers/dma/edma.c
@@
-288,7
+288,7
@@
static int edma_slave_config(struct edma_chan *echan,
static int edma_dma_pause(struct edma_chan *echan)
{
/* Pause/Resume only allowed with cyclic mode */
- if (!echan->edesc->cyclic)
+ if (!echan->edesc
|| !echan->edesc
->cyclic)
return -EINVAL;
edma_pause(echan->ch_num);