mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
coresight: use 2K block size transfers for output via usb
For better throughput and to avoid limitations, use 2K block size tranfers when outputting data over usb using ETR. Moreover, USB 3.0 currently only supports 2K block size for the descriptors. Change-Id: Idc68c4d503e3ccca7715d3cbec21daedfbc2df6f Signed-off-by: Pratik Patel <pratikp@codeaurora.org>
This commit is contained in:
parent
2e636e1f6e
commit
72ae7be066
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ void msm_qdss_csr_enable_bam_to_usb(void)
|
|||
CSR_UNLOCK(drvdata);
|
||||
|
||||
usbbamctrl = csr_readl(drvdata, CSR_USBBAMCTRL);
|
||||
usbbamctrl = (usbbamctrl & ~0x3) | BLKSIZE_256;
|
||||
usbbamctrl = (usbbamctrl & ~0x3) | BLKSIZE_2048;
|
||||
csr_writel(drvdata, usbbamctrl, CSR_USBBAMCTRL);
|
||||
|
||||
usbflshctrl = csr_readl(drvdata, CSR_USBFLSHCTRL);
|
||||
|
|
Loading…
Reference in a new issue