Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c9058210 authored by David Ng's avatar David Ng Committed by Steve Kondik
Browse files

libusbhost: Skip /dev inotify if /dev/bus/usb already exists

Skip watching /dev changes if the final /dev/bus/usb already
exists.  Register only for /dev/bus in this scenario on systems
where the last "/usb" path may be deleted (currently handled by
libusbhost).

Removal of inotify watch on /dev reduces runtime overhead as
/dev nodes are modified frequently.

Change-Id: I6823a68c3977ae01832808ae5f8c32fa913b02cf
parent 8c4a7ec8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment