diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-09-17 10:04:46 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-09-26 13:36:18 -0400 |
commit | e714b470af267a300a98b4d97aa5b800503fa5b9 (patch) | |
tree | de0134cfed95291f584187a702af7b2f144fa196 | |
parent | 5a5eecb36b82288d92bacbdb3dd30fa4cc741e90 (diff) |
ste_dma40: Rename a jump label in d40_free_dma()
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.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index 55d0df9d1e38..66e2d503c521 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c | |||
@@ -2047,7 +2047,7 @@ static int d40_free_dma(struct d40_chan *d40c) | |||
2047 | res = d40_channel_execute_command(d40c, D40_DMA_STOP); | 2047 | res = d40_channel_execute_command(d40c, D40_DMA_STOP); |
2048 | if (res) { | 2048 | if (res) { |
2049 | chan_err(d40c, "stop failed\n"); | 2049 | chan_err(d40c, "stop failed\n"); |
2050 | goto out; | 2050 | goto mark_last_busy; |
2051 | } | 2051 | } |
2052 | 2052 | ||
2053 | d40_alloc_mask_free(phy, is_src, chan_is_logical(d40c) ? event : 0); | 2053 | d40_alloc_mask_free(phy, is_src, chan_is_logical(d40c) ? event : 0); |
@@ -2065,8 +2065,7 @@ static int d40_free_dma(struct d40_chan *d40c) | |||
2065 | d40c->busy = false; | 2065 | d40c->busy = false; |
2066 | d40c->phy_chan = NULL; | 2066 | d40c->phy_chan = NULL; |
2067 | d40c->configured = false; | 2067 | d40c->configured = false; |
2068 | out: | 2068 | mark_last_busy: |
2069 | |||
2070 | pm_runtime_mark_last_busy(d40c->base->dev); | 2069 | pm_runtime_mark_last_busy(d40c->base->dev); |
2071 | pm_runtime_put_autosuspend(d40c->base->dev); | 2070 | pm_runtime_put_autosuspend(d40c->base->dev); |
2072 | return res; | 2071 | return res; |