ARM: OMAP: add RCU locking to omap2_set_init_voltage.
authorNeilBrown <neilb@suse.de>
Mon, 9 Jan 2012 02:14:12 +0000 (13:14 +1100)
committerKevin Hilman <khilman@ti.com>
Tue, 14 Feb 2012 18:55:54 +0000 (10:55 -0800)
commit6369fd41fc6075a547394d95608ca7ff0e878698
tree33aa90aad43f9630b8c31fbf8edbf797fbc6e317
parentd65b4e98d7ea3038b767b70fe8be959b2913f16d
ARM: OMAP: add RCU locking to omap2_set_init_voltage.

opp_find_freq_ceil and opp_get_voltage are documented as requiring
rcu_lock to be held.  So hold it.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/pm.c