OMAP2 clock: fix recursive spinlock attempt when CONFIG_CPU_FREQ=y
authorPaul Walmsley <paul@pwsan.com>
Wed, 19 May 2010 02:24:06 +0000 (20:24 -0600)
committerPaul Walmsley <paul@pwsan.com>
Thu, 20 May 2010 18:31:14 +0000 (12:31 -0600)
commit59dd7224892142fe1d8505cf2c90bd732d730005
tree7538504b4823811eb8590c8d78c1c1804e025bb4
parent4788da268f83dedc58b79dc7b2f6072687f63a19
OMAP2 clock: fix recursive spinlock attempt when CONFIG_CPU_FREQ=y

The OMAP2 MPU virtual clock node code attempted to call clk_get_rate()
while the clockfw_lock spinlock was held.  Fix by reading the sys_ck
rate directly.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c