diff options
author | Yan Zhu <zhuyan34@huawei.com> | 2019-04-18 18:25:21 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-19 15:23:34 +0300 |
commit | 9bcb762ce02db5cc99e6705f0fcfab6b097a9bc8 (patch) | |
tree | 8f9e1ece799ba0ed678134694c67f73bedd54cef /include/linux/usb/tcpm.h | |
parent | 381419fa720060ba48b7bbc483be787d5b1dca6f (diff) | |
download | linux-9bcb762ce02db5cc99e6705f0fcfab6b097a9bc8.tar.xz |
usb: host: use usb_endpoint_maxp instead of usb_maxpacket
fhci_queue_urb() shouldn't use urb->pipe to compute the maxpacket
size anyway.It should use usb_endpoint_maxp(&urb->ep->desc).
Signed-off-by: Yan Zhu <zhuyan34@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/tcpm.h')
0 files changed, 0 insertions, 0 deletions