diff options
Diffstat (limited to 'arch/arm/plat-s3c24xx/dma.c')
| -rw-r--r-- | arch/arm/plat-s3c24xx/dma.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/arm/plat-s3c24xx/dma.c b/arch/arm/plat-s3c24xx/dma.c index db98e7021f0d..ba3e76c95504 100644 --- a/arch/arm/plat-s3c24xx/dma.c +++ b/arch/arm/plat-s3c24xx/dma.c | |||
| @@ -325,7 +325,7 @@ static int s3c2410_dma_start(struct s3c2410_dma_chan *chan) | |||
| 325 | 325 | ||
| 326 | chan->state = S3C2410_DMA_RUNNING; | 326 | chan->state = S3C2410_DMA_RUNNING; |
| 327 | 327 | ||
| 328 | /* check wether there is anything to load, and if not, see | 328 | /* check whether there is anything to load, and if not, see |
| 329 | * if we can find anything to load | 329 | * if we can find anything to load |
| 330 | */ | 330 | */ |
| 331 | 331 | ||
| @@ -473,12 +473,13 @@ int s3c2410_dma_enqueue(enum dma_ch channel, void *id, | |||
| 473 | pr_debug("dma%d: %s: buffer %p queued onto non-empty channel\n", | 473 | pr_debug("dma%d: %s: buffer %p queued onto non-empty channel\n", |
| 474 | chan->number, __func__, buf); | 474 | chan->number, __func__, buf); |
| 475 | 475 | ||
| 476 | if (chan->end == NULL) | 476 | if (chan->end == NULL) { |
| 477 | pr_debug("dma%d: %s: %p not empty, and chan->end==NULL?\n", | 477 | pr_debug("dma%d: %s: %p not empty, and chan->end==NULL?\n", |
| 478 | chan->number, __func__, chan); | 478 | chan->number, __func__, chan); |
| 479 | 479 | } else { | |
| 480 | chan->end->next = buf; | 480 | chan->end->next = buf; |
| 481 | chan->end = buf; | 481 | chan->end = buf; |
| 482 | } | ||
| 482 | } | 483 | } |
| 483 | 484 | ||
| 484 | /* if necessary, update the next buffer field */ | 485 | /* if necessary, update the next buffer field */ |
