commit | db5629dab090e4fac6815b8e808191c02c8343fc | [log] [tgz] |
---|---|---|
author | Sreelakshmi Gownipalli <sgownipa@codeaurora.org> | Tue Jan 23 13:11:41 2018 -0800 |
committer | ali_lin <Ali_Lin@compal.com> | Tue Jul 24 10:58:32 2018 +0800 |
tree | af60ba275758d7bc87f7f4f0086e1f04b9b79eb6 | |
parent | 3191309480c49e8b467e7990c64a76de0ff13f0c [diff] |
diag: Protect the decrement of number of diag clients In diagchar_open() protect the decrement of number of diag clients so that there will be no race conditions while reading the value from other functions. Change-Id: I0e2fb5331eec9c7bba39e7d881b69559256833a3 Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>