Re: [patch v6 3/4] USB: add Cypress c67x00 OTG controller HCD driver

2008-01-30 Thread Peter Korsgaard
Alan == Alan Stern [EMAIL PROTECTED] writes: Alan On Tue, 29 Jan 2008, Peter Korsgaard wrote: This patch adds HCD support for the Cypress c67x00 family of devices. --- /dev/null +++ linux-2.6/drivers/usb/c67x00/c67x00-hcd.c +int c67x00_urb_dequeue(struct usb_hcd *hcd, struct urb *urb,

Re: [patch v6 3/4] USB: add Cypress c67x00 OTG controller HCD driver

2008-01-30 Thread Alan Stern
On Wed, 30 Jan 2008, Peter Korsgaard wrote: +static void c67x00_sched_done(unsigned long __c67x00) +{ + struct c67x00_hcd *c67x00 = (struct c67x00_hcd *)__c67x00; + struct c67x00_urb_priv *urbp, *tmp; + struct urb *urb; + + spin_lock(c67x00-lock); + + /* Loop over the