From: Xenia Ragiadakou Date: Mon, 26 Aug 2013 20:29:46 +0000 (+0300) Subject: xhci: replace USB_MAXINTERFACES with config->desc.bNumInterface X-Git-Tag: v3.14-rc1~148^2~130^2~65^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64ba419b7a5acf5fc934bfad9cc46c7f17ab8026;p=pandora-kernel.git xhci: replace USB_MAXINTERFACES with config->desc.bNumInterface 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 interfaces while USB_MAXINTERFACES is 32. Signed-off-by: Xenia Ragiadakou Signed-off-by: Sarah Sharp --- Reading git-diff-tree failed