usb: core: hub: add quirk for hub with broken autosuspend function
authorWilliam Wu <wulf@rock-chips.com>
Tue, 21 Feb 2017 08:02:36 +0000 (16:02 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 22 Feb 2017 06:16:04 +0000 (14:16 +0800)
commit52fc3f5c807a580860a7dccfe321bd1bf065a292
treefefc7c6deaac041fe378d40a754a7cf9b4205f55
parentccff43617f55b5361aae060142d9175c77069030
usb: core: hub: add quirk for hub with broken autosuspend function

Some USB host controller seems to have problems with
autosuspend. For example, Rockchip rk3328 SoC USB 3.0
wouldn't handle remote wakeup correctly with external
hub after entered autosuspend, caused to resume SS
port fail.

This patch introduces a new quirk flag for hub that
should remain disabled for autosuspend.

Change-Id: I6d14222b2c5025583fea811a6afd6abd22f41cb9
Signed-off-by: William Wu <wulf@rock-chips.com>
drivers/usb/core/hub.c
include/linux/usb/quirks.h