From: Markus Elfring Date: Sat, 17 Sep 2016 14:28:54 +0000 (+0200) Subject: ste_dma40: Rename a jump label in __d40_execute_command_phy() X-Git-Tag: v4.14-rc1~2349^2~3^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b140ea0fc59ed4b9e99fe9cc0e58f15594d95976;p=platform%2Fkernel%2Flinux-rpi.git ste_dma40: Rename a jump label in __d40_execute_command_phy() Adjust a jump label according to the current Linux coding style convention. Signed-off-by: Markus Elfring Reviewed-by: Linus Walleij Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index 95957e2..82314b7 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c @@ -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; }