commit | ade232c6a99885463d17778af50e45862eb0d7c3 | [log] [tgz] |
---|---|---|
author | Sujeev Dias <sdias@codeaurora.org> | Tue Nov 27 18:43:58 2018 -0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Dec 03 10:13:00 2018 -0800 |
tree | 25b6640626cf00a9d5fe2a2df2456ddb42f3319d | |
parent | 0eef6c41e4cad9b22f10933b76110c7b2aec8101 [diff] |
mhi: dev: uci: block file open until MHI remove is complete Race condition exists between open and remove where after open obtain the device node and MHI remove frees the same device. To avoid this scenario, block file open from obtaining device node while remove is executing. CRs-Fixed: 2356376 Change-Id: I1aad5c7848b791a2e03ea0acac643b9a2bda3ba2 Signed-off-by: Sujeev Dias <sdias@codeaurora.org>