usb: gadget: gsi: Set NUM_OF_TRB as 15 for IN and OUT GSI endpoints
It is recommended to use NUM_OF_TRB greater than USB controller's TRB cache size. Currently USB controller's TRB cache size on GSI available platform is 12. TRB ring base address must be aligned to TRB ring length rounded to power of two. Hence set NUM_OF_TRB as 15 for both IN and OUT GSI endpoints. CRs-Fixed: 1067833 Change-Id: Iab8b0bc6fd17183fc6056f06a90421cde24987c8 Signed-off-by: Mayank Rana <mrana@codeaurora.org>
This commit is contained in:
parent
8a8abceb69
commit
eeddeda6f7
1 changed files with 2 additions and 2 deletions
|
@ -35,9 +35,9 @@
|
|||
#define GSI_CTRL_DTR (1 << 0)
|
||||
|
||||
|
||||
#define GSI_NUM_IN_BUFFERS 7
|
||||
#define GSI_NUM_IN_BUFFERS 15
|
||||
#define GSI_IN_BUFF_SIZE 2048
|
||||
#define GSI_NUM_OUT_BUFFERS 7
|
||||
#define GSI_NUM_OUT_BUFFERS 15
|
||||
#define GSI_ECM_NUM_OUT_BUFFERS 31
|
||||
#define GSI_OUT_AGGR_SIZE 24576
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue