diff options
author | 2012-08-15 16:11:40 +0800 | |
---|---|---|
committer | 2012-09-06 19:52:26 +0300 | |
commit | 3067779b1566ae5fb6af40f03ae874ac47035523 (patch) | |
tree | 3de04dd718271471313e05354eac4febdf476888 /include/linux/v4l2-subdev.h | |
parent | usb: gadget: dummy_hcd: add support for USB_DT_BOS on rh (diff) | |
download | wireguard-linux-3067779b1566ae5fb6af40f03ae874ac47035523.tar.xz wireguard-linux-3067779b1566ae5fb6af40f03ae874ac47035523.zip |
usb: musb: host: fix for musb_start_urb Oops
when using musb_urb_enqueue to submit three urbs to the same endpoint, when
hep->hcpriv is NULL, qh will be allocated when the first urb is completed.
When the IRQ completes the next two urbs, qh->hep->hcpriv will be set to NULL.
Now the second urb get musb->lock and executes musb_schedule(), but
next_urb(qh) is NULL, so musb_start_urb will Oops.
[ balbi@ti.com : practically rewrote commit log so it makes sense ]
Signed-off-by: mayuzheng <myz147@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/v4l2-subdev.h')
0 files changed, 0 insertions, 0 deletions