summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorRam Chandrasekar <rkumbako@codeaurora.org>2017-03-23 16:33:58 -0600
committerGerrit - the friendly Code Review server <code-review@localhost>2017-03-29 16:18:51 -0700
commit49869909971a7b769b026927065043c226e76546 (patch)
treeca92732d8297e58b7b0f5cb37d18cdf69331bc82 /include/linux/debugobjects.h
parent664cdd33f956accabebd29edba6c220b1580744d (diff)
msm: thermal-dev: Protect IOCTL from race condition
There is a possibility that the thermal ioctl interface can be accessed simultaneously in a multi-threaded environment. In those cases the calls to fetch the frequency and voltage table can result in an undefined behavior due to race condition. Use mutex to protect the IOCTL interface from multi-thread access race condition. Change-Id: I325695f38753a4d4bc732987cf514e8616273aca Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions