Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322307
b: refs/heads/master
c: c5491d1
h: refs/heads/master
i:
  322305: e2b1bab
  322303: 4cea233
v: v3
  • Loading branch information
Timo Kokkonen authored and Tony Lindgren committed Aug 13, 2012
1 parent 84a7511 commit a3a821c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cf835e8d226481984f72dffc6034fe75e296511e
refs/heads/master: c5491d1ae1946d394389b83b31b87708e86dc4cf
4 changes: 2 additions & 2 deletions trunk/arch/arm/plat-omap/dmtimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ struct omap_dm_timer *omap_dm_timer_request(void)
timer->reserved = 1;
break;
}
spin_unlock_irqrestore(&dm_timer_lock, flags);

if (timer) {
ret = omap_dm_timer_prepare(timer);
Expand All @@ -197,7 +198,6 @@ struct omap_dm_timer *omap_dm_timer_request(void)
timer = NULL;
}
}
spin_unlock_irqrestore(&dm_timer_lock, flags);

if (!timer)
pr_debug("%s: timer request failed!\n", __func__);
Expand All @@ -220,6 +220,7 @@ struct omap_dm_timer *omap_dm_timer_request_specific(int id)
break;
}
}
spin_unlock_irqrestore(&dm_timer_lock, flags);

if (timer) {
ret = omap_dm_timer_prepare(timer);
Expand All @@ -228,7 +229,6 @@ struct omap_dm_timer *omap_dm_timer_request_specific(int id)
timer = NULL;
}
}
spin_unlock_irqrestore(&dm_timer_lock, flags);

if (!timer)
pr_debug("%s: timer%d request failed!\n", __func__, id);
Expand Down

0 comments on commit a3a821c

Please sign in to comment.