diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-omap/clock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/clock.c b/arch/arm/plat-omap/clock.c index 06485c193ee3..32ec04c58bcd 100644 --- a/arch/arm/plat-omap/clock.c +++ b/arch/arm/plat-omap/clock.c | |||
@@ -58,7 +58,7 @@ struct clk * clk_get(struct device *dev, const char *id) | |||
58 | if (p->id == idno && | 58 | if (p->id == idno && |
59 | strcmp(id, p->name) == 0 && try_module_get(p->owner)) { | 59 | strcmp(id, p->name) == 0 && try_module_get(p->owner)) { |
60 | clk = p; | 60 | clk = p; |
61 | break; | 61 | goto found; |
62 | } | 62 | } |
63 | } | 63 | } |
64 | 64 | ||
@@ -69,6 +69,7 @@ struct clk * clk_get(struct device *dev, const char *id) | |||
69 | } | 69 | } |
70 | } | 70 | } |
71 | 71 | ||
72 | found: | ||
72 | mutex_unlock(&clocks_mutex); | 73 | mutex_unlock(&clocks_mutex); |
73 | 74 | ||
74 | return clk; | 75 | return clk; |