usb: xhci: Program max burst size for endpoint
authorBin Meng <bmeng.cn@gmail.com>
Mon, 18 Sep 2017 13:40:48 +0000 (06:40 -0700)
committerMarek Vasut <marex@denx.de>
Sun, 1 Oct 2017 14:32:54 +0000 (16:32 +0200)
commitfa483b2c750f6ebdb5946f46b217aa3f9a449531
tree3191c9474075f10efc94c2f308f803da55796f6b
parentf51966bf7afe44151756e9a2432705bb56bc2007
usb: xhci: Program max burst size for endpoint

The 'Max Burst Size' indicates to the xHC the maximum number of
consecutive USB transactions that should be executed per scheduling
opportunity. This is a “zero-based” value, where 0 to 15 represents
burst sizes of 1 to 16, but at present this is always set to zero.
Let's program the required value according to real needs.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
drivers/usb/host/xhci.c