usb: host: xhci: Change L1 timeout default to 128us

L1 timeout default is set to 512us which reduces the
possibility of entering in to L1 state for smaller
service interval value. This impacts the power saving
due to L1. Hence set the timeout to lowest allowed value
i.e. 128us.

Change-Id: Ic261ba25ddd8097f43dffa5f6af88d97f0e417d3
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
This commit is contained in:
Hemant Kumar 2017-05-11 15:48:48 -07:00 • committed by Jack Pham
commit 034ca2c3b6

View file

@ -437,8 +437,8 @@ struct xhci_op_regs {
#define PORT_L1_TIMEOUT(p)(((p) & 0xff) << 2)
#define PORT_BESLD(p)(((p) & 0xf) << 10)
/* use 512 microseconds as USB2 LPM L1 default timeout. */
#define XHCI_L1_TIMEOUT 512
/* use 128 microseconds as USB2 LPM L1 default timeout. */
#define XHCI_L1_TIMEOUT 128
/* Set default HIRD/BESL value to 4 (350/400us) for USB2 L1 LPM resume latency.
* Safe to use with mixed HIRD and BESL systems (host and device) and is used