Re: [PATCH v6 18/22] usb: dwc2: host: Schedule periodic right away if it's time

2016-02-02 Thread Doug Anderson
Kever, On Mon, Feb 1, 2016 at 11:04 PM, Kever Yang wrote: >>> Oh, now I get what you're saying! >>> >>> A) You've got dwc2_release_channel() -> dwc2_deactivate_qh() -> >>> dwc2_hcd_qh_deactivate() >>> ...and always in that case we'll do a select / queue, so we don't need it >>> there. >>> >>> B)

Re: [PATCH v6 18/22] usb: dwc2: host: Schedule periodic right away if it's time

2016-02-02 Thread Doug Anderson
Kever, On Mon, Feb 1, 2016 at 11:04 PM, Kever Yang wrote: >>> Oh, now I get what you're saying! >>> >>> A) You've got dwc2_release_channel() -> dwc2_deactivate_qh() -> >>> dwc2_hcd_qh_deactivate() >>> ...and always in that case we'll do a select / queue, so we don't

Re: [PATCH v6 18/22] usb: dwc2: host: Schedule periodic right away if it's time

2016-02-01 Thread Kever Yang
Doug, On 02/02/2016 08:36 AM, Doug Anderson wrote: Kever, On Sun, Jan 31, 2016 at 8:36 PM, Doug Anderson wrote: Kever, On Sun, Jan 31, 2016 at 7:32 PM, Kever Yang wrote: Doug, On 02/01/2016 06:09 AM, Doug Anderson wrote: Kever, On Sun, Jan 31, 2016 at 1:36 AM, Kever Yang wrote:

Re: [PATCH v6 18/22] usb: dwc2: host: Schedule periodic right away if it's time

2016-02-01 Thread Doug Anderson
Kever, On Sun, Jan 31, 2016 at 8:36 PM, Doug Anderson wrote: > Kever, > > On Sun, Jan 31, 2016 at 7:32 PM, Kever Yang wrote: >> Doug, >> >> >> On 02/01/2016 06:09 AM, Doug Anderson wrote: >>> >>> Kever, >>> >>> On Sun, Jan 31, 2016 at 1:36 AM, Kever Yang >>> wrote: Doug,

Re: [PATCH v6 18/22] usb: dwc2: host: Schedule periodic right away if it's time

2016-02-01 Thread Doug Anderson
Kever, On Sun, Jan 31, 2016 at 8:36 PM, Doug Anderson wrote: > Kever, > > On Sun, Jan 31, 2016 at 7:32 PM, Kever Yang wrote: >> Doug, >> >> >> On 02/01/2016 06:09 AM, Doug Anderson wrote: >>> >>> Kever, >>> >>> On Sun, Jan 31, 2016 at 1:36 AM,

Re: [PATCH v6 18/22] usb: dwc2: host: Schedule periodic right away if it's time

2016-02-01 Thread Kever Yang
Doug, On 02/02/2016 08:36 AM, Doug Anderson wrote: Kever, On Sun, Jan 31, 2016 at 8:36 PM, Doug Anderson wrote: Kever, On Sun, Jan 31, 2016 at 7:32 PM, Kever Yang wrote: Doug, On 02/01/2016 06:09 AM, Doug Anderson wrote: Kever, On Sun,

Re: [PATCH v6 18/22] usb: dwc2: host: Schedule periodic right away if it's time

2016-01-31 Thread Doug Anderson
Kever, On Sun, Jan 31, 2016 at 7:32 PM, Kever Yang wrote: > Doug, > > > On 02/01/2016 06:09 AM, Doug Anderson wrote: >> >> Kever, >> >> On Sun, Jan 31, 2016 at 1:36 AM, Kever Yang >> wrote: >>> >>> Doug, >>> >>> >>> On 01/29/2016 10:20 AM, Douglas Anderson wrote: In

Re: [PATCH v6 18/22] usb: dwc2: host: Schedule periodic right away if it's time

2016-01-31 Thread Kever Yang
Doug, On 02/01/2016 06:09 AM, Doug Anderson wrote: Kever, On Sun, Jan 31, 2016 at 1:36 AM, Kever Yang wrote: Doug, On 01/29/2016 10:20 AM, Douglas Anderson wrote: In dwc2_hcd_qh_deactivate() we will put some things on the periodic_sched_ready list. These things won't be taken off the

Re: [PATCH v6 18/22] usb: dwc2: host: Schedule periodic right away if it's time

2016-01-31 Thread Doug Anderson
Kever, On Sun, Jan 31, 2016 at 1:36 AM, Kever Yang wrote: > Doug, > > > On 01/29/2016 10:20 AM, Douglas Anderson wrote: >> >> In dwc2_hcd_qh_deactivate() we will put some things on the >> periodic_sched_ready list. These things won't be taken off the ready >> list until the next SOF, which

Re: [PATCH v6 18/22] usb: dwc2: host: Schedule periodic right away if it's time

2016-01-31 Thread Kever Yang
Doug, On 01/29/2016 10:20 AM, Douglas Anderson wrote: In dwc2_hcd_qh_deactivate() we will put some things on the periodic_sched_ready list. These things won't be taken off the ready list until the next SOF, which might be a little late. Let's put them on right away. Signed-off-by: Douglas

Re: [PATCH v6 18/22] usb: dwc2: host: Schedule periodic right away if it's time

2016-01-31 Thread Doug Anderson
Kever, On Sun, Jan 31, 2016 at 1:36 AM, Kever Yang wrote: > Doug, > > > On 01/29/2016 10:20 AM, Douglas Anderson wrote: >> >> In dwc2_hcd_qh_deactivate() we will put some things on the >> periodic_sched_ready list. These things won't be taken off the ready >> list

Re: [PATCH v6 18/22] usb: dwc2: host: Schedule periodic right away if it's time

2016-01-31 Thread Doug Anderson
Kever, On Sun, Jan 31, 2016 at 7:32 PM, Kever Yang wrote: > Doug, > > > On 02/01/2016 06:09 AM, Doug Anderson wrote: >> >> Kever, >> >> On Sun, Jan 31, 2016 at 1:36 AM, Kever Yang >> wrote: >>> >>> Doug, >>> >>> >>> On 01/29/2016 10:20 AM,

Re: [PATCH v6 18/22] usb: dwc2: host: Schedule periodic right away if it's time

2016-01-31 Thread Kever Yang
Doug, On 02/01/2016 06:09 AM, Doug Anderson wrote: Kever, On Sun, Jan 31, 2016 at 1:36 AM, Kever Yang wrote: Doug, On 01/29/2016 10:20 AM, Douglas Anderson wrote: In dwc2_hcd_qh_deactivate() we will put some things on the periodic_sched_ready list. These things

Re: [PATCH v6 18/22] usb: dwc2: host: Schedule periodic right away if it's time

2016-01-31 Thread Kever Yang
Doug, On 01/29/2016 10:20 AM, Douglas Anderson wrote: In dwc2_hcd_qh_deactivate() we will put some things on the periodic_sched_ready list. These things won't be taken off the ready list until the next SOF, which might be a little late. Let's put them on right away. Signed-off-by: Douglas

[PATCH v6 18/22] usb: dwc2: host: Schedule periodic right away if it's time

2016-01-28 Thread Douglas Anderson
In dwc2_hcd_qh_deactivate() we will put some things on the periodic_sched_ready list. These things won't be taken off the ready list until the next SOF, which might be a little late. Let's put them on right away. Signed-off-by: Douglas Anderson Tested-by: Heiko Stuebner Tested-by: Stefan

[PATCH v6 18/22] usb: dwc2: host: Schedule periodic right away if it's time

2016-01-28 Thread Douglas Anderson
In dwc2_hcd_qh_deactivate() we will put some things on the periodic_sched_ready list. These things won't be taken off the ready list until the next SOF, which might be a little late. Let's put them on right away. Signed-off-by: Douglas Anderson Tested-by: Heiko Stuebner