From: Timo Kokkonen Date: Sun, 12 Aug 2012 10:45:34 +0000 (+0300) Subject: ARM: OMAP: dmtimers: Fix locking issue in omap_dm_timer_request*() X-Git-Tag: omap-fixes-for-v3.6-rc1^0 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5491d1ae1946d394389b83b31b87708e86dc4cf;p=pandora-kernel.git 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 Cc: Tarun Kanti DebBarma Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed