diff options
-rw-r--r-- | drivers/dma/edma.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c index cd04eb7b182e..926360c2db6a 100644 --- a/drivers/dma/edma.c +++ b/drivers/dma/edma.c | |||
@@ -182,11 +182,13 @@ static void edma_execute(struct edma_chan *echan) | |||
182 | echan->ecc->dummy_slot); | 182 | echan->ecc->dummy_slot); |
183 | } | 183 | } |
184 | 184 | ||
185 | edma_resume(echan->ch_num); | ||
186 | |||
187 | if (edesc->processed <= MAX_NR_SG) { | 185 | if (edesc->processed <= MAX_NR_SG) { |
188 | dev_dbg(dev, "first transfer starting %d\n", echan->ch_num); | 186 | dev_dbg(dev, "first transfer starting %d\n", echan->ch_num); |
189 | edma_start(echan->ch_num); | 187 | edma_start(echan->ch_num); |
188 | } else { | ||
189 | dev_dbg(dev, "chan: %d: completed %d elements, resuming\n", | ||
190 | echan->ch_num, edesc->processed); | ||
191 | edma_resume(echan->ch_num); | ||
190 | } | 192 | } |
191 | 193 | ||
192 | /* | 194 | /* |