commit | dac5a964eee8398987cf1af22e44700e94af45d2 | [log] [tgz] |
---|---|---|
author | Mao Jinlong <c_jmao@codeaurora.org> | Fri Apr 11 15:42:26 2014 +0800 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sat Nov 18 11:08:39 2017 +0100 |
tree | 96016e8be63e0590ae89fe3793644520830c73f4 | |
parent | d64ac4a8a403281b08e2dff4215024106b4509ef [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: I4226a95e499211c0d50ff7ce269467a57a410dc7 Signed-off-by: Mao Jinlong <c_jmao@codeaurora.org>