diff options
-rw-r--r-- | drivers/media/platform/soc_camera/mx3_camera.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/media/platform/soc_camera/mx3_camera.c b/drivers/media/platform/soc_camera/mx3_camera.c index 83315dfeef62..7696a873510d 100644 --- a/drivers/media/platform/soc_camera/mx3_camera.c +++ b/drivers/media/platform/soc_camera/mx3_camera.c | |||
@@ -415,10 +415,8 @@ static void mx3_stop_streaming(struct vb2_queue *q) | |||
415 | struct mx3_camera_buffer *buf, *tmp; | 415 | struct mx3_camera_buffer *buf, *tmp; |
416 | unsigned long flags; | 416 | unsigned long flags; |
417 | 417 | ||
418 | if (ichan) { | 418 | if (ichan) |
419 | struct dma_chan *chan = &ichan->dma_chan; | 419 | dmaengine_pause(&ichan->dma_chan); |
420 | chan->device->device_control(chan, DMA_PAUSE, 0); | ||
421 | } | ||
422 | 420 | ||
423 | spin_lock_irqsave(&mx3_cam->lock, flags); | 421 | spin_lock_irqsave(&mx3_cam->lock, flags); |
424 | 422 | ||