diff options
author | Timo Kokkonen <timo.t.kokkonen@iki.fi> | 2012-08-12 13:45:34 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-08-13 06:23:16 -0700 |
commit | c5491d1ae1946d394389b83b31b87708e86dc4cf (patch) | |
tree | feca1a2cde20a65f2a41964d6559e7a962e89a5d /arch/arm/boot | |
parent | cf835e8d226481984f72dffc6034fe75e296511e (diff) | |
download | linux-c5491d1ae1946d394389b83b31b87708e86dc4cf.tar.gz linux-c5491d1ae1946d394389b83b31b87708e86dc4cf.tar.bz2 linux-c5491d1ae1946d394389b83b31b87708e86dc4cf.zip |
ARM: OMAP: dmtimers: Fix locking issue in omap_dm_timer_request*()
Calling omap_dm_timer_prepare while the spinlock is held is not
allowed as sleeping functions are called later on during the
preparation (namely within clk_get()).
dm_timer_lock is only required for protecting the
omap_timer_list. After the timer is marked as reserved, the lock is no
longer needed and should be freed.
Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
Cc: Tarun Kanti DebBarma <tarun.kanti@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot')
0 files changed, 0 insertions, 0 deletions