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>
This commit is contained in:
parent
e714b470af
commit
f19b8ee88f
|
@ -1831,7 +1831,7 @@ static bool d40_alloc_mask_free(struct d40_phy_res *phy, bool is_src,
|
||||||
phy->allocated_dst = D40_ALLOC_FREE;
|
phy->allocated_dst = D40_ALLOC_FREE;
|
||||||
phy->allocated_src = D40_ALLOC_FREE;
|
phy->allocated_src = D40_ALLOC_FREE;
|
||||||
is_free = true;
|
is_free = true;
|
||||||
goto out;
|
goto unlock;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Logical channel */
|
/* Logical channel */
|
||||||
|
@ -1847,8 +1847,7 @@ static bool d40_alloc_mask_free(struct d40_phy_res *phy, bool is_src,
|
||||||
|
|
||||||
is_free = ((phy->allocated_src | phy->allocated_dst) ==
|
is_free = ((phy->allocated_src | phy->allocated_dst) ==
|
||||||
D40_ALLOC_FREE);
|
D40_ALLOC_FREE);
|
||||||
|
unlock:
|
||||||
out:
|
|
||||||
spin_unlock_irqrestore(&phy->lock, flags);
|
spin_unlock_irqrestore(&phy->lock, flags);
|
||||||
|
|
||||||
return is_free;
|
return is_free;
|
||||||
|
|
Loading…
Reference in New Issue