commit | a7a12685fca7f68a01e7ed084820de127784960e | [log] [tgz] |
---|---|---|
author | Vikram Mulukutla <markivx@codeaurora.org> | Tue May 21 12:02:21 2013 -0700 |
committer | Vikram Mulukutla <markivx@codeaurora.org> | Tue May 21 12:38:16 2013 -0700 |
tree | 5a64b7d438ccbc58822116171d21940cf303f2ec | |
parent | 2d84268e0c7082216521d938a3a3501ed151c463 [diff] |
msm: clock-local2: Fix rcg_clk_set_rate race condition Setting the parent corresponding to the new source for an RCG clock while not holding the per-clock spinlock for that RCG may cause race conditions. Fix this. Also, use the new __clk_pre_reparent and __clk_post_reparent APIs to switch the RCG source. Change-Id: Idac6c006630cc617a48e7126e281cd78aac87fef Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>