ste_dma40: Rename a jump label in dma_tasklet()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 17 Sep 2016 14:23:43 +0000 (16:23 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 26 Sep 2016 17:37:12 +0000 (23:07 +0530)
Adjust a jump label according to the current Linux coding style convention.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/ste_dma40.c

index d7954d0..95957e2 100644 (file)
@@ -1607,7 +1607,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)
@@ -1650,8 +1650,7 @@ static void dma_tasklet(unsigned long data)
                callback(callback_param);
 
        return;
-
-err:
+ check_pending_tx:
        /* Rescue manouver if receiving double interrupts */
        if (d40c->pending_tx > 0)
                d40c->pending_tx--;