commit | 86c87779ede40b30fa9e0fefedfea08a794b1a46 | [log] [tgz] |
---|---|---|
author | Will Deacon <willdeacon@google.com> | Tue Dec 15 15:18:07 2020 +0000 |
committer | Giuliano Procida <gprocida@google.com> | Tue Jan 05 10:12:26 2021 +0000 |
tree | 343eadfb2c548a50ce37f68302973a5e7faef09c | |
parent | 1077960495b9f6776311ea93822d396b26a7c4e4 [diff] |
ANDROID: usb: f_accessory: Add refcounting to global 'acc_dev' Add refcounting to track the lifetime of the global 'acc_dev' structure, as the underlying function directories can be removed while references still exist to the dev node. Bug: 173789633 Signed-off-by: Will Deacon <willdeacon@google.com> Change-Id: I248408e890d01167706c329146d63b64a6456df6 Signed-off-by: Giuliano Procida <gprocida@google.com>