commit | a1f610a1af0ff64b579db35109e6bcb8fdb2d391 | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Sat Sep 22 00:40:37 2012 -0700 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Tue Sep 25 18:27:07 2012 -0700 |
tree | 08bed272599a57e800b8ae632e216b480cf58e95 | |
parent | 94836c9be75607f6d654a722d884d61d0c74af4f [diff] |
msm: clock: Make lock for vdd_class into mutex There is no reason to hold a spinlock here anymore when the vdd_class is only updated in non-atomic context. Move to using a mutex instead. We couldn't do this before because voltage voting was done in atomic context. Change-Id: Ic0a4fa8f4255f8454d0b34d148cc5365eca8f139 Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>