lkml.org 
[lkml]   [2022]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v3 05/15] media: omap_vout: Use dmaengine_async_is_tx_complete
    Date
    Replace dma_async_is_tx_complete with dmaengine_async_is_tx_complete.
    The previous API will be removed in favor of the new one.

    Signed-off-by: Ben Walker <benjamin.walker@intel.com>
    ---
    drivers/media/platform/ti/omap/omap_vout_vrfb.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/media/platform/ti/omap/omap_vout_vrfb.c b/drivers/media/platform/ti/omap/omap_vout_vrfb.c
    index 0cfa0169875f0..b9d252d5ced7a 100644
    --- a/drivers/media/platform/ti/omap/omap_vout_vrfb.c
    +++ b/drivers/media/platform/ti/omap/omap_vout_vrfb.c
    @@ -289,7 +289,7 @@ int omap_vout_prepare_vrfb(struct omap_vout_device *vout,
    vout->vrfb_dma_tx.tx_status == 1,
    VRFB_TX_TIMEOUT);

    - status = dma_async_is_tx_complete(chan, cookie, NULL, NULL);
    + status = dmaengine_async_is_tx_complete(chan, cookie);

    if (vout->vrfb_dma_tx.tx_status == 0) {
    pr_err("%s: Timeout while waiting for DMA\n", __func__);
    --
    2.35.1
    \
     
     \ /
      Last update: 2022-06-22 20:55    [W:3.311 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site