mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
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:
parent
517f1673b8
commit
034ca2c3b6
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue