diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-09-17 09:15:15 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-09-26 13:36:17 -0400 |
commit | 8452b85906b6a731b619baba30c0a14fedbafdaa (patch) | |
tree | a3ee46e4e96142340a62a95790d6f1c994d79e24 | |
parent | c9909935a854941b0a4c299e6b5af5c178f64e93 (diff) |
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: 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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index 4b89a3523dc1..12798d2aa7e0 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c | |||
@@ -2426,7 +2426,7 @@ static int d40_alloc_chan_resources(struct dma_chan *chan) | |||
2426 | err = d40_config_memcpy(d40c); | 2426 | err = d40_config_memcpy(d40c); |
2427 | if (err) { | 2427 | if (err) { |
2428 | chan_err(d40c, "Failed to configure memcpy channel\n"); | 2428 | chan_err(d40c, "Failed to configure memcpy channel\n"); |
2429 | goto fail; | 2429 | goto mark_last_busy; |
2430 | } | 2430 | } |
2431 | } | 2431 | } |
2432 | 2432 | ||
@@ -2434,7 +2434,7 @@ static int d40_alloc_chan_resources(struct dma_chan *chan) | |||
2434 | if (err) { | 2434 | if (err) { |
2435 | chan_err(d40c, "Failed to allocate channel\n"); | 2435 | chan_err(d40c, "Failed to allocate channel\n"); |
2436 | d40c->configured = false; | 2436 | d40c->configured = false; |
2437 | goto fail; | 2437 | goto mark_last_busy; |
2438 | } | 2438 | } |
2439 | 2439 | ||
2440 | pm_runtime_get_sync(d40c->base->dev); | 2440 | pm_runtime_get_sync(d40c->base->dev); |
@@ -2468,7 +2468,7 @@ static int d40_alloc_chan_resources(struct dma_chan *chan) | |||
2468 | */ | 2468 | */ |
2469 | if (is_free_phy) | 2469 | if (is_free_phy) |
2470 | d40_config_write(d40c); | 2470 | d40_config_write(d40c); |
2471 | fail: | 2471 | mark_last_busy: |
2472 | pm_runtime_mark_last_busy(d40c->base->dev); | 2472 | pm_runtime_mark_last_busy(d40c->base->dev); |
2473 | pm_runtime_put_autosuspend(d40c->base->dev); | 2473 | pm_runtime_put_autosuspend(d40c->base->dev); |
2474 | spin_unlock_irqrestore(&d40c->lock, flags); | 2474 | spin_unlock_irqrestore(&d40c->lock, flags); |