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, 2 insertions, 1 deletions
diff --git a/drivers/media/platform/omap/omap_vout_vrfb.c b/drivers/media/platform/omap/omap_vout_vrfb.c index cf1c437a8687..62e7e5783ce8 100644 --- a/drivers/media/platform/omap/omap_vout_vrfb.c +++ b/drivers/media/platform/omap/omap_vout_vrfb.c | |||
@@ -270,7 +270,8 @@ int omap_vout_prepare_vrfb(struct omap_vout_device *vout, | |||
270 | omap_dma_set_global_params(DMA_DEFAULT_ARB_RATE, 0x20, 0); | 270 | omap_dma_set_global_params(DMA_DEFAULT_ARB_RATE, 0x20, 0); |
271 | 271 | ||
272 | omap_start_dma(tx->dma_ch); | 272 | omap_start_dma(tx->dma_ch); |
273 | interruptible_sleep_on_timeout(&tx->wait, VRFB_TX_TIMEOUT); | 273 | wait_event_interruptible_timeout(tx->wait, tx->tx_status == 1, |
274 | VRFB_TX_TIMEOUT); | ||
274 | 275 | ||
275 | if (tx->tx_status == 0) { | 276 | if (tx->tx_status == 0) { |
276 | omap_stop_dma(tx->dma_ch); | 277 | omap_stop_dma(tx->dma_ch); |