commit | 896e23bd04ea50a146dffd342e2f96180f0812a5 | [log] [tgz] |
---|---|---|
author | Olivier Sobrie <olivier@sobrie.be> | Sun Oct 27 22:07:53 2013 +0100 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Thu Oct 31 20:20:23 2013 +0100 |
tree | c6bb44a17c1e21b09106dc73a54d16affb4beb79 | |
parent | 5d0f801a2ccec3b1fdabc3392c8d99ed0413d216 [diff] |
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 <stable@vger.kernel.org> Signed-off-by: Olivier Sobrie <olivier@sobrie.be> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>