Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 034ca2c3 authored by Hemant Kumar's avatar Hemant Kumar Committed by Jack Pham
Browse files

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: default avatarHemant Kumar <hemantk@codeaurora.org>
parent 517f1673
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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