diff options
author | Greg Kroah-Hartman | 2019-04-01 07:42:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2019-04-01 07:42:04 +0200 |
commit | 8cdfd068c1ea54cca7d7ad6ad31335cc5d0d9905 (patch) | |
tree | 26a36ec23067a9e26baf3d46c65f70619ca4d808 /drivers/usb/host/xhci.h | |
parent | usb: introduce usb_ep_type_string() function (diff) | |
parent | Linux 5.1-rc3 (diff) | |
download | kernel-qcow2-linux-8cdfd068c1ea54cca7d7ad6ad31335cc5d0d9905.tar.gz kernel-qcow2-linux-8cdfd068c1ea54cca7d7ad6ad31335cc5d0d9905.tar.xz kernel-qcow2-linux-8cdfd068c1ea54cca7d7ad6ad31335cc5d0d9905.zip |
Merge 5.1-rc3 into usb-next
We want the USB fixes in here as well.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci.h')
-rw-r--r-- | drivers/usb/host/xhci.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index 652dc36e3012..9334cdee382a 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h @@ -452,6 +452,14 @@ struct xhci_op_regs { */ #define XHCI_DEFAULT_BESL 4 +/* + * USB3 specification define a 360ms tPollingLFPSTiemout for USB3 ports + * to complete link training. usually link trainig completes much faster + * so check status 10 times with 36ms sleep in places we need to wait for + * polling to complete. + */ +#define XHCI_PORT_POLLING_LFPS_TIME 36 + /** * struct xhci_intr_reg - Interrupt Register Set * @irq_pending: IMAN - Interrupt Management Register. Used to enable |