]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ste_dma40: Rename a jump label in __d40_execute_command_phy()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 17 Sep 2016 14:28:54 +0000 (16:28 +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 95957e23e9785c1f102067a44c1225d03f6e625f..82314b7ff9900a506911eeea3ef58a6799a662ea 100644 (file)
@@ -1083,7 +1083,7 @@ static int __d40_execute_command_phy(struct d40_chan *d40c,
                        D40_CHAN_POS(d40c->phy_chan->num);
 
                if (status == D40_DMA_SUSPENDED || status == D40_DMA_STOP)
-                       goto done;
+                       goto unlock;
        }
 
        wmask = 0xffffffff & ~(D40_CHAN_POS_MASK(d40c->phy_chan->num));
@@ -1119,7 +1119,7 @@ static int __d40_execute_command_phy(struct d40_chan *d40c,
                }
 
        }
-done:
+ unlock:
        spin_unlock_irqrestore(&d40c->base->execmd_lock, flags);
        return ret;
 }