mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-11 07:28:10 +09:00
Some USB controllers (such as rk3328 SoC DWC3 controller with INNO USB 3.0 PHY) don't support autosuspend well, when receive remote wakeup signal from autosuspend, the Port Link State training failed, the correct PLC is Resume->Recovery->U0, but when the issue happens, the wrong PLC is Resume->Recovery->Inactive, cause resuming SS port fail. This issue always occurs when connect with external USB 3.0 HUB. This patch add a quirk to disable autosuspend function, and add new 'usb3_disable_autosuspend' member in xHCI platform data to support set the quirk based on platform data. Change-Id: Ice01d70178206e22658660361dd3a525046cbcf5 Signed-off-by: William Wu <wulf@rock-chips.com>