diff options
Diffstat (limited to 'drivers/media/platform/omap/omap_vout_vrfb.c')
-rw-r--r-- | drivers/media/platform/omap/omap_vout_vrfb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/platform/omap/omap_vout_vrfb.c b/drivers/media/platform/omap/omap_vout_vrfb.c index 123c2b26a933..1d8508237220 100644 --- a/drivers/media/platform/omap/omap_vout_vrfb.c +++ b/drivers/media/platform/omap/omap_vout_vrfb.c | |||
@@ -236,7 +236,6 @@ int omap_vout_prepare_vrfb(struct omap_vout_device *vout, | |||
236 | struct dma_async_tx_descriptor *tx; | 236 | struct dma_async_tx_descriptor *tx; |
237 | enum dma_ctrl_flags flags = DMA_PREP_INTERRUPT | DMA_CTRL_ACK; | 237 | enum dma_ctrl_flags flags = DMA_PREP_INTERRUPT | DMA_CTRL_ACK; |
238 | struct dma_chan *chan = vout->vrfb_dma_tx.chan; | 238 | struct dma_chan *chan = vout->vrfb_dma_tx.chan; |
239 | struct dma_device *dmadev = chan->device; | ||
240 | struct dma_interleaved_template *xt = vout->vrfb_dma_tx.xt; | 239 | struct dma_interleaved_template *xt = vout->vrfb_dma_tx.xt; |
241 | dma_cookie_t cookie; | 240 | dma_cookie_t cookie; |
242 | enum dma_status status; | 241 | enum dma_status status; |
@@ -271,7 +270,7 @@ int omap_vout_prepare_vrfb(struct omap_vout_device *vout, | |||
271 | xt->dst_sgl = true; | 270 | xt->dst_sgl = true; |
272 | xt->dst_inc = true; | 271 | xt->dst_inc = true; |
273 | 272 | ||
274 | tx = dmadev->device_prep_interleaved_dma(chan, xt, flags); | 273 | tx = dmaengine_prep_interleaved_dma(chan, xt, flags); |
275 | if (tx == NULL) { | 274 | if (tx == NULL) { |
276 | pr_err("%s: DMA interleaved prep error\n", __func__); | 275 | pr_err("%s: DMA interleaved prep error\n", __func__); |
277 | return -EINVAL; | 276 | return -EINVAL; |