Re: [PATCH] xhci: Compute last_ctx from complete set of configured endpoints.

2013-06-24 Thread Reilly Grant
On Mon, Jun 24, 2013 at 08:59AM -0700, Sarah Sharp wrote: > On Tue, Jun 18, 2013 at 02:09:13PM -0700, Reilly Grant wrote: > > The context entries field of the slot context must be set to one more > > than the highest endpoint index currently active. The previous logic > > onl

[PATCH] xhci: Compute last_ctx from complete set of configured endpoints.

2013-06-18 Thread Reilly Grant
The context entries field of the slot context must be set to one more than the highest endpoint index currently active. The previous logic only included the set of endpoints currently being added, meaning that if an endpoint where dropped then the field would be reset to 1, deactivating all configu

Resend: [PATCH] xhci: Compute last_ctx from complete set of endpoints.

2013-05-24 Thread Reilly Grant
The context entries field of the slot context must be set to one more than the highest endpoint index currently active. The previous logic only included the set of endpoints currently being added, meaning that if an endpoint where dropped then the field would be reset to 1, deactivating all configu

[PATCH] xhci: Compute last_ctx from complete set of endpoints.

2013-05-08 Thread Reilly Grant
The context entries field of the slot context must be set to one more than the highest endpoint index currently active. The previous logic only included the set of endpoints currently being added, meaning that if an endpoint where dropped then the field would be reset to 1, deactivating all configu

[PATCH] xhci: Compute last_ctx from complete set of endpoints.

2013-04-30 Thread Reilly Grant
configured endpoints. The xHCI spec is decidedly unclear on whether this field includes all configured endpoints or only those being modified by a configure endpoint command. My interpretation is the former and is the behavior observed in the Apple's xHCI driver. Signed-off-by: Reilly