diff options
author | Len Brown <len.brown@intel.com> | 2005-08-05 13:03:06 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-08-05 13:03:06 -0400 |
commit | e872d4cace8681838e8d18d52c92f4870e980a08 (patch) | |
tree | 082b75cc52935efae68f9f744bc3f8807f7176c6 /drivers/usb/host/isp116x-hcd.c | |
parent | 1f3a730117ceda2a7c917d687921fe3c82283968 (diff) | |
parent | 403fe5ae57c831968c3dbbaba291ae825a1c5aaa (diff) |
Merge ../from-linus
Diffstat (limited to 'drivers/usb/host/isp116x-hcd.c')
-rw-r--r-- | drivers/usb/host/isp116x-hcd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/host/isp116x-hcd.c b/drivers/usb/host/isp116x-hcd.c index 50b1970fe6b..76cb496c583 100644 --- a/drivers/usb/host/isp116x-hcd.c +++ b/drivers/usb/host/isp116x-hcd.c @@ -229,9 +229,11 @@ static void preproc_atl_queue(struct isp116x *isp116x) struct isp116x_ep *ep; struct urb *urb; struct ptd *ptd; - u16 toggle = 0, dir = PTD_DIR_SETUP, len; + u16 len; for (ep = isp116x->atl_active; ep; ep = ep->active) { + u16 toggle = 0, dir = PTD_DIR_SETUP; + BUG_ON(list_empty(&ep->hep->urb_list)); urb = container_of(ep->hep->urb_list.next, struct urb, urb_list); |