From: Paul Walmsley Date: Wed, 20 Jan 2010 00:30:55 +0000 (-0700) Subject: OMAP1 clock: fix for "BUG: spinlock lockup on CPU#0" X-Git-Tag: v2.6.33-rc6~30^2~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af022fafa89cca5731da3e3325dc027ed8d57bcd;p=pandora-kernel.git OMAP1 clock: fix for "BUG: spinlock lockup on CPU#0" Commit 52650505fbf3a6ab851c801f54e73e76c55ab8da caused clock initialization to fail on OMAP1 with "BUG: spinlock lockup on CPU#0" -- this is because omap1_select_table_rate() and omap1_round_to_table_rate() call clk_get_rate() with the clockfw spinlock held. Fix by accessing the rate directly from the internal clock framework functions. Thanks to Tony Lindgren for reporting and testing the fix. Signed-off-by: Paul Walmsley Cc: Tony Lindgren --- Reading git-diff-tree failed