diff options
author | 2012-01-11 13:39:07 +0800 | |
---|---|---|
committer | 2012-01-24 15:43:10 +0200 | |
commit | 118d63f7f84cd400ba537f5d318c035c95c6776d (patch) | |
tree | 89e609eed01b11cfd0e538cae841986c50a27b1e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | drivers: usb: otg: Fix dependencies for some OTG drivers (diff) | |
download | linux-dev-118d63f7f84cd400ba537f5d318c035c95c6776d.tar.xz linux-dev-118d63f7f84cd400ba537f5d318c035c95c6776d.zip |
usb: gadget: fsl_udc: fix the usage of udc->max_ep
The max_ep is the number of endpoint * 2.
But in dtd_complete_irq, it does again * 2, it will deference wrong memory
after scanning max_ep - 1.
The another similar problem is at USB_REQ_SET_FEATURE (the pipe number
should be 0 and max_ep - 1).
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Matthieu castet <matthieu.castet@parrot.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions