commit | 6cc883ca098f34bd126478a6aa19d5cce48d71a9 | [log] [tgz] |
---|---|---|
author | Benoit Goby <benoit@android.com> | Tue Jul 31 19:22:06 2012 -0700 |
committer | Benoit Goby <benoit@android.com> | Thu Aug 02 12:19:30 2012 -0700 |
tree | 6a952d419bb7f456ce9bd1cb088aa93714fe81ad | |
parent | 35fc46d8e338181ee3caedc30f3627bad2ffe35e [diff] |
libusbhost: Fix possible missed "device added" notification When a new bus is added, check for existing devices in the bus directory, since devices may have been added before calling inotify_add_watch. Also add missing inotify_rm_watch calls. Change-Id: Ie69fc995a3e8b18431099b252be86f0054fe5531