aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-09-17 10:10:41 -0400
committerVinod Koul <vinod.koul@intel.com>2016-09-26 13:36:18 -0400
commitf19b8ee88f5311bc5a8661c618d33f1e1002d59e (patch)
tree4eec2aec3acbdd1596b0ccd0d2bc76dc15df7897
parente714b470af267a300a98b4d97aa5b800503fa5b9 (diff)
ste_dma40: Rename a jump label in d40_alloc_mask_free()
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>
-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 66e2d503c521..a4f965f02444 100644
--- a/drivers/dma/ste_dma40.c
+++ b/drivers/dma/ste_dma40.c
@@ -1831,7 +1831,7 @@ static bool d40_alloc_mask_free(struct d40_phy_res *phy, bool is_src,
1831 phy->allocated_dst = D40_ALLOC_FREE; 1831 phy->allocated_dst = D40_ALLOC_FREE;
1832 phy->allocated_src = D40_ALLOC_FREE; 1832 phy->allocated_src = D40_ALLOC_FREE;
1833 is_free = true; 1833 is_free = true;
1834 goto out; 1834 goto unlock;
1835 } 1835 }
1836 1836
1837 /* Logical channel */ 1837 /* Logical channel */
@@ -1847,8 +1847,7 @@ static bool d40_alloc_mask_free(struct d40_phy_res *phy, bool is_src,
1847 1847
1848 is_free = ((phy->allocated_src | phy->allocated_dst) == 1848 is_free = ((phy->allocated_src | phy->allocated_dst) ==
1849 D40_ALLOC_FREE); 1849 D40_ALLOC_FREE);
1850 1850 unlock:
1851out:
1852 spin_unlock_irqrestore(&phy->lock, flags); 1851 spin_unlock_irqrestore(&phy->lock, flags);
1853 1852
1854 return is_free; 1853 return is_free;