lkml.org 
[lkml]   [2016]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 22/24] ste_dma40: Rename a jump label in dma_tasklet()
    From
    Date
    From: Markus Elfring <elfring@users.sourceforge.net>
    Date: Sat, 17 Sep 2016 16:23:43 +0200

    Adjust a jump label according to the current Linux coding style convention.

    Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
    ---
    drivers/dma/ste_dma40.c | 5 ++---
    1 file changed, 2 insertions(+), 3 deletions(-)

    diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c
    index 4a2f39b..0082ae0 100644
    --- a/drivers/dma/ste_dma40.c
    +++ b/drivers/dma/ste_dma40.c
    @@ -1606,7 +1606,7 @@ static void dma_tasklet(unsigned long data)
    /* Check if we have reached here for cyclic job */
    d40d = d40_first_active_get(d40c);
    if (d40d == NULL || !d40d->cyclic)
    - goto err;
    + goto check_pending_tx;
    }

    if (!d40d->cyclic)
    @@ -1648,8 +1648,7 @@ static void dma_tasklet(unsigned long data)
    dmaengine_desc_callback_invoke(&cb, NULL);

    return;
    -
    -err:
    + check_pending_tx:
    /* Rescue manouver if receiving double interrupts */
    if (d40c->pending_tx > 0)
    d40c->pending_tx--;
    --
    2.10.0
    \
     
     \ /
      Last update: 2016-09-17 17:35    [W:2.537 / U:1.076 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site