Re: [RFC 1/4] xhci: replace USB_MAXINTERFACES with config-desc.bNumInterface

2013-11-14 Thread Sarah Sharp
Applied to for-usb-next-queue. I'll rebase it against Greg's usb-next branch once 3.13-rc1 is out, and send it off for inclusion for 3.14. Sarah Sharp On Mon, Aug 26, 2013 at 11:29:46PM +0300, Xenia Ragiadakou wrote: This patch replaces USB_MAXINTERFACES with config-desc.bNumInterface in the

[RFC 1/4] xhci: replace USB_MAXINTERFACES with config-desc.bNumInterface

2013-08-26 Thread Xenia Ragiadakou
This patch replaces USB_MAXINTERFACES with config-desc.bNumInterface in the termination condition for the loop that updates the LPM timeout of the endpoints on the cofiguration's interfaces, in xhci_calculate_lpm_timeout(), to avoid unnecessary loop cycles since most configurations come with 1-2