commit | adceac14166da8c466223a35ec59c4a4adeef976 | [log] [tgz] |
---|---|---|
author | Frans Klaver <frans.klaver@xsens.com> | Thu Sep 04 09:25:37 2014 +0200 |
committer | Johan Hovold <johan@kernel.org> | Thu Sep 04 11:18:26 2014 +0200 |
tree | 6842550963576915c053cdf6caac802b2cc6b77e | |
parent | 7c13325380ee520ece4ddf517c6f6f895eb63f98 [diff] |
usb: serial: xsens_mt: always bind to interface number 1 Probe is testing if the current interface provides two bulk endpoints. While this achieves the goal of only binding to the correct interface, we already know we can find the device on interface number 1. Stop checking the endpoints and just return successfully when interface number 1 is probed. Signed-off-by: Frans Klaver <frans.klaver@xsens.com> Signed-off-by: Johan Hovold <johan@kernel.org>