-
Dmitry Torokhov authored
If we want to enable asynchronous probing of various devices (especially DWC2 USB controllers) USB bus numbers will no longer stay stable and we need an alternative rule to locate internal ports/devices. Luckily we can do that by using DRIVERS=="ehci-platform" predicate in udev rules. BUG=chrome-os-partner:35398 TEST=Build and boot; verify that camera connected to ehci-platform ghas power/persist attribute set to 1. Change-Id: I51c076db5382b3414215158c4a9f76789d0a1b25 Signed-off-by: Dmitry Torokhov <dtor@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/255666 Reviewed-by: Douglas Anderson <dianders@chromium.org> Commit-Queue: Douglas Anderson <dianders@chromium.org> Trybot-Ready: Douglas Anderson <dianders@chromium.org> Tested-by: Douglas Anderson <dianders@chromium.org>
46fcdbcb