diff options
author | Yoshihiro Shimoda | 2015-11-18 14:34:10 +0900 |
---|---|---|
committer | Felipe Balbi | 2015-12-15 09:12:41 -0600 |
commit | 64c5f48b100e92f189a32b6d660e3329681ec9b5 (patch) | |
tree | bb2925e5d72766e098237aec5a57a5ac09249ba8 /tools/scripts | |
parent | 51f141a97a1406bb0b59d490e837a39ccb7c3999 (diff) |
usb: renesas_usbhs: Modify ep.caps.type_xxx and usb_ep_maxpacket_limit()
This patch modifies the ep.caps.type_{iso,bulk,int} setting and
the second argument of usb_ep_maxpacket_limit() using
the dparam.pipe_configs.
In the previous code, all the type_{iso,bulk,int} were set to true.
However, to avoid waste time for finding suitable pipe in usb_ep_enable(),
this driver should set correct type.
Also the second argument of usb_ep_maxpacket_limit() was set to 512
even if the pipe is isochronous or interrupt. So, this driver could
not bind a gadget driver like the g_audio driver.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'tools/scripts')
0 files changed, 0 insertions, 0 deletions