Re: [PATCH v3] USB: gadget: s3c-hsotg: add isochronous transfers support

2013-10-11 Thread Felipe Balbi
Hi, On Fri, Oct 11, 2013 at 08:23:35AM +0200, Robert Baldyga wrote: > Hello, > > On 10/10/2013 06:04 PM, Felipe Balbi wrote: > > Hi, > > > > On Wed, Oct 09, 2013 at 08:41:57AM +0200, Robert Baldyga wrote: > >> @@ -2616,14 +2630,19 @@ static int s3c_hsotg_ep_enable(struct usb_ep *ep, > >>s3c_

Re: [PATCH v3] USB: gadget: s3c-hsotg: add isochronous transfers support

2013-10-10 Thread Robert Baldyga
Hello, On 10/10/2013 06:04 PM, Felipe Balbi wrote: > Hi, > > On Wed, Oct 09, 2013 at 08:41:57AM +0200, Robert Baldyga wrote: >> @@ -2616,14 +2630,19 @@ static int s3c_hsotg_ep_enable(struct usb_ep *ep, >> s3c_hsotg_set_ep_maxpacket(hsotg, hs_ep->index, mps); >> >> /* default, set to n

Re: [PATCH v3] USB: gadget: s3c-hsotg: add isochronous transfers support

2013-10-10 Thread Felipe Balbi
Hi, On Wed, Oct 09, 2013 at 08:41:57AM +0200, Robert Baldyga wrote: > @@ -2616,14 +2630,19 @@ static int s3c_hsotg_ep_enable(struct usb_ep *ep, > s3c_hsotg_set_ep_maxpacket(hsotg, hs_ep->index, mps); > > /* default, set to non-periodic */ > + hs_ep->isochronous = 0; > hs_ep

[PATCH v3] USB: gadget: s3c-hsotg: add isochronous transfers support

2013-10-08 Thread Robert Baldyga
This patch adds isochronous transfer support. It adds few modifications: - Modify s3c_hsotg_epint() function. Some interrupts are ignored for isochronous endpoints, (e.g. INTknTXFEmpMsk) becouse isochronous request is always transfered in single transaction, which ends with XferCompl interrupt.