From: Felipe Balbi Date: Fri, 27 Jan 2012 14:19:15 +0000 (+0200) Subject: usb: host: xhci: use __ffs() instead of hardcoding shift X-Git-Tag: v3.4-rc1~184^2~21^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d3709f3dd41769338cc383bec23673fd1ce34e7;p=pandora-kernel.git usb: host: xhci: use __ffs() instead of hardcoding shift __ffs() can tell us which is the SEGMENT_SHIFT value to be used. This will prevent problems when users are too fast and don't pay attention to the need of fixing the Shift after changing TRBS_PER_SEGMENT. Signed-off-by: Felipe Balbi Signed-off-by: Sarah Sharp --- Reading git-diff-tree failed