device_google_zumapro/usb
Kuen-Han Tsai 5cfc68b55b Limit hub tuning when enable_hub is enabled
Some external hubs have the same VID and PID as the internal hub,
causing unintended hub tuning and compatibility issues.

This patch restricts hub tuning to only the internal hub located on
bus 1, port 1 when enable_hub is set to 1.

Bug: 353650207
Test: Verified an external GL852G speakerphone dock works when docked.
Test: adb shell cmd android.hardware.usb.IUsb/default hub-vendor-cmd <hex wValue> <hex wIndex>
Flag: EXEMPT bugfix
Change-Id: I381f3883c90628753f0e5e9c11eb546fb15ce679
Signed-off-by: Kuen-Han Tsai <khtsai@google.com>
2024-08-06 09:45:05 +00:00
..
gadget Use absolute path for udc device 2024-06-27 00:08:41 +00:00
usb Limit hub tuning when enable_hub is enabled 2024-08-06 09:45:05 +00:00