|
@@ -270,7 +270,8 @@ int omap_vout_prepare_vrfb(struct omap_vout_device *vout,
|
|
omap_dma_set_global_params(DMA_DEFAULT_ARB_RATE, 0x20, 0);
|
|
omap_dma_set_global_params(DMA_DEFAULT_ARB_RATE, 0x20, 0);
|
|
|
|
|
|
omap_start_dma(tx->dma_ch);
|
|
omap_start_dma(tx->dma_ch);
|
|
- interruptible_sleep_on_timeout(&tx->wait, VRFB_TX_TIMEOUT);
|
|
|
|
|
|
+ wait_event_interruptible_timeout(tx->wait, tx->tx_status == 1,
|
|
|
|
+ VRFB_TX_TIMEOUT);
|
|
|
|
|
|
if (tx->tx_status == 0) {
|
|
if (tx->tx_status == 0) {
|
|
omap_stop_dma(tx->dma_ch);
|
|
omap_stop_dma(tx->dma_ch);
|