summaryrefslogtreecommitdiffstats
path: root/drivers/usb/typec/tcpm/fusb302.c
diff options
context:
space:
mode:
authorAnshuman Gupta <anshuman.gupta@intel.com>2018-09-20 19:13:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-28 15:04:45 +0200
commit330e2d61cdd58363eb5e66b2e72f76fe3c5492e0 (patch)
treea52990a0b15d032da2e471caca42e3a80395ecdd /drivers/usb/typec/tcpm/fusb302.c
parente1c3c7e54ed3655c02248b4f1c7940aff4eecb56 (diff)
downloadlinux-330e2d61cdd58363eb5e66b2e72f76fe3c5492e0.tar.bz2
xhci: Avoid USB autosuspend when resuming USB2 ports.
When USB bus host controller root hub resumes from autosuspend, it immediately tries to enter auto-suspend, but there can be a scenario when root hub is resuming its usb2 ports, in that particular case USB host controller auto suspend fails since it is busy to resuming its usb2 ports. This makes multiple failed cycles of auto-suspend until all usb2 ports of host controller root hub do not resume. This patch uses USB core framework usb_hcd_start_port_resume, usb_hcd_end_port_resume API's in order to autoresume/autosuspend root hub properly. Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/typec/tcpm/fusb302.c')
0 files changed, 0 insertions, 0 deletions