diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-05-30 14:46:26 -0700 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-06-02 13:07:23 +0200 |
| commit | 50020b79c35a259dbca1d37106d2f4dc9d932109 (patch) | |
| tree | 74bd18c823ec09ceb92ad3e696de381592376ebb /net | |
| parent | 35cb977136a88ddec0cbf3c79a577316d9f5f6a8 (diff) | |
ANDROID: hid: uhid: implement refcount for open and close
Fix concurrent open and close activity sending a UHID_CLOSE while
some consumers still have the device open.
Temporary solution for reference counts on device open and close
calls, absent a facility for this in the HID core likely to appear
in the future.
[toddpoynor@google.com: commit text]
Bug: 38448648
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Change-Id: I57413e42ec961a960a8ddc4942228df22c730d80
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions
