summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-09-17 16:23:43 +0200
committerVinod Koul <vinod.koul@intel.com>2016-09-26 19:37:12 +0200
commitd4cd217ac5486b4f05222fc3e49427d9d855d628 (patch)
tree025d38f9dfd3ea5a37402ac60bd2eab617a7170b /drivers/dma
parentste_dma40: Rename jump labels in d40_alloc_mask_set() (diff)
downloadlinux-d4cd217ac5486b4f05222fc3e49427d9d855d628.tar.xz
linux-d4cd217ac5486b4f05222fc3e49427d9d855d628.zip
ste_dma40: Rename a jump label in dma_tasklet()
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>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/ste_dma40.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c
index d7954d0d6a3e..95957e23e978 100644
--- a/drivers/dma/ste_dma40.c
+++ b/drivers/dma/ste_dma40.c
@@ -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--;