summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-generic.c
diff options
context:
space:
mode:
authorMukesh Ojha <mojha@codeaurora.org>2017-05-05 14:14:56 +0530
committerMukesh Ojha <mojha@codeaurora.org>2017-05-18 17:52:26 +0530
commit81f3b9aab8e971219b8386b60f85b7344d2585ce (patch)
tree81148e4e706c15ffdc29c1a6d335e3bd067eaa9c /drivers/rtc/rtc-generic.c
parent5404e35069576a8cd8203065f60975e34a5f727b (diff)
coresight-tmc: Adds lock to avoid race condition
There can be a case of race in the call to tmc_etr_bam_disable(). The call from usb_notifier() to tmc_etr_bam_disable() is within a lock 'drvdata->mem_lock' but the call from tmc_disable is not under any lock which can lead to race. This patch adds the missing lock. CRs-Fixed: 2047196 Change-Id: I3986b498ae8e2b2ddfe8f5b3315fdefab197d11c Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
Diffstat (limited to 'drivers/rtc/rtc-generic.c')
0 files changed, 0 insertions, 0 deletions