Commit afa948d5 authored by Norihiko Hama's avatar Norihiko Hama Committed by Treehugger Robot
Browse files

ANDROID: GKI: add vendor hooks to avoid unsupported usb device probing



In GKI config, a lot of USB class drivers are buitin,
these drivers are automatically loaded, so we cannot disable devices probed
if the devices are connected.
We need to disable unsupported USB devices for security reason,
so need this vendor hook to ignore to bind drivers on static id_table.
if vendor hook return bypass as true, then ignore match up staic id_table.
But dynamic id is still allowed since it's configured by userspace.

Bug: 278041365

Change-Id: I1f5ca166fd49ecbc7fd406ceff1f80f3646596db
Signed-off-by: default avatarNorihiko Hama <Norihiko.Hama@alpsalpine.com>
parent 2f4e9420
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment