Commit 8452b859 authored by Markus Elfring's avatar Markus Elfring Committed by Vinod Koul

ste_dma40: Rename a jump label in d40_alloc_chan_resources()

Adjust jump labels according to the current Linux coding style convention.
Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent c9909935
...@@ -2426,7 +2426,7 @@ static int d40_alloc_chan_resources(struct dma_chan *chan) ...@@ -2426,7 +2426,7 @@ static int d40_alloc_chan_resources(struct dma_chan *chan)
err = d40_config_memcpy(d40c); err = d40_config_memcpy(d40c);
if (err) { if (err) {
chan_err(d40c, "Failed to configure memcpy channel\n"); chan_err(d40c, "Failed to configure memcpy channel\n");
goto fail; goto mark_last_busy;
} }
} }
...@@ -2434,7 +2434,7 @@ static int d40_alloc_chan_resources(struct dma_chan *chan) ...@@ -2434,7 +2434,7 @@ static int d40_alloc_chan_resources(struct dma_chan *chan)
if (err) { if (err) {
chan_err(d40c, "Failed to allocate channel\n"); chan_err(d40c, "Failed to allocate channel\n");
d40c->configured = false; d40c->configured = false;
goto fail; goto mark_last_busy;
} }
pm_runtime_get_sync(d40c->base->dev); pm_runtime_get_sync(d40c->base->dev);
...@@ -2468,7 +2468,7 @@ static int d40_alloc_chan_resources(struct dma_chan *chan) ...@@ -2468,7 +2468,7 @@ static int d40_alloc_chan_resources(struct dma_chan *chan)
*/ */
if (is_free_phy) if (is_free_phy)
d40_config_write(d40c); d40_config_write(d40c);
fail: mark_last_busy:
pm_runtime_mark_last_busy(d40c->base->dev); pm_runtime_mark_last_busy(d40c->base->dev);
pm_runtime_put_autosuspend(d40c->base->dev); pm_runtime_put_autosuspend(d40c->base->dev);
spin_unlock_irqrestore(&d40c->lock, flags); spin_unlock_irqrestore(&d40c->lock, flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment