diff options
| author | Mayank Rana <mrana@codeaurora.org> | 2016-01-28 12:12:43 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:10:08 -0700 |
| commit | 86751cfb339ab9e9e8d0f74efba715b7b1fb944c (patch) | |
| tree | e426a584cf8c8cc4b1b8b21aca373bcd75cbbec7 /include/linux/flex_array.h | |
| parent | 574860e4394f347e7dad3d895094827eb100ab60 (diff) | |
USB: f_fs: Use config_ep_by_speed() for ADB endpoints
config_ep_by_speed() configures endpoint based on speed and
uses already available endpoint descriptors. Here it overrides
maxpacket field based on selected descriptor for endpoint. maxpacket
field is used by some of UDC driver to resize TXFIFO for IN endpoint.
Due to maxpacket is not being configured with selected endpoint
descriptor, UDC driver uses previously stale maxpacket value which
results into wrong TXFIFO calculated for used IN endpoint. Fix this
issue by calling config_ep_by_speed() for ADB endpoints to make sure
that proper value is updated with maxpacket field based on descriptor.
Change-Id: I9121f4df898de1455f9be4333ca8d0e744f4eb9e
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Diffstat (limited to 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions
