usb: serial: xsens_mt: always bind to interface number 1
authorFrans Klaver <frans.klaver@xsens.com>
Thu, 4 Sep 2014 07:25:37 +0000 (09:25 +0200)
committerJohan Hovold <johan@kernel.org>
Thu, 4 Sep 2014 09:18:26 +0000 (11:18 +0200)
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>
drivers/usb/serial/xsens_mt.c

Simple merge