diff options
author | Sevak Arakelyan <sevaka@synopsys.com> | 2017-01-24 02:01:23 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-01-24 17:19:11 +0300 |
commit | c138ecfa6108edee17fabfa56285b00f66641659 (patch) | |
tree | c7e467bba6576b96808dfddfeee77e8f66bd80d4 /net | |
parent | e1f411d1b3db49a2089f47087410dcfec6564e28 (diff) | |
download | linux-c138ecfa6108edee17fabfa56285b00f66641659.tar.xz |
usb: dwc2: gadget: Set TX FIFO depths to calculated defaults
Remove legacy DWC2_G_P_LEGACY_TX_FIFO_SIZE array for TX FIFOs.
Update dwc2_set_param_tx_fifo_sizes function to calculate
and assign default average FIFO depth to each member of
g_tx_fifo_size array. Total FIFO size, EP Info block's size,
FIFO operation mode and device operation mode are taken into
consideration during the calculation.
Cc: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Sevak Arakelyan <sevaka@synopsys.com>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions