From: Olivier Sobrie Date: Sun, 27 Oct 2013 21:07:53 +0000 (+0100) Subject: can: kvaser_usb: fix usb endpoints detection X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~67^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=896e23bd04ea50a146dffd342e2f96180f0812a5;p=pandora-kernel.git can: kvaser_usb: fix usb endpoints detection Some devices, like the Kvaser Memorator Professional, have several bulk in endpoints. Only the first one found must be used by the driver. The same holds for the bulk out endpoint. The official Kvaser driver (leaf) was used as reference for this patch. Cc: linux-stable Signed-off-by: Olivier Sobrie Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed