commit | 446d682932d5691fea398fce2b64658575b52ee8 | [log] [tgz] |
---|---|---|
author | Xiaocheng Li <lix@codeaurora.org> | Tue Apr 08 12:58:42 2014 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Apr 28 23:26:21 2014 -0700 |
tree | 660dfd7728603b40d1e7d20397b2565b0d3a8498 | |
parent | eeb31ff78d63eca1327d43dc070df474d1004d28 [diff] |
alarm : Fix the race conditions in alarm-dev.c There will be race conditions between alarm set and alarm clear if set_power_on_alarm is out of the lock.But set_power_on_alarm can't be put into spin_lock. So add it into mutex_lock. CRs-Fixed: 639115 Change-Id: I1db4836f67174b756c7f9d231f7a39cf0377d2c2 Signed-off-by: Xiaocheng Li <lix@codeaurora.org>