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

Commit c98aef29 authored by Ajay Agarwal's avatar Ajay Agarwal
Browse files

Revert "usb: host: xhci: Increase number of event ring segments to 4"



'Commit 980e3a90 ("usb: host: xhci: Increase number of event
ring segments to 4")' is leading to xHC taking more time to
process the queued TDs and cleanup, thereby increasing the HALT
time. Revert the commit to go back to original times.
The Ring Full Error events can be cleaned up by decreasing number
of URBs being queued.

Change-Id: I3058d755b0dc526ab35d0cf165d37f2cb8019dd2
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent 42d485ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1633,7 +1633,7 @@ struct urb_priv {
 * (1K bytes * 8bytes/bit) / (4*32 bits) = 64 segment entries in the table,
 * meaning 64 ring segments.
 * Initial allocated size of the ERST, in number of entries */
#define	ERST_NUM_SEGS	4
#define	ERST_NUM_SEGS	1
/* Initial allocated size of the ERST, in number of entries */
#define	ERST_SIZE	64
/* Initial number of event segment rings allocated */