Re: [PATCH resend 2/2] usb: serial: xsens_mt: always bind to interface number 1

2014-09-04 Thread Frans Klaver
On Thu, Sep 04, 2014 at 11:22:26AM +0200, Johan Hovold wrote: > On Thu, Sep 04, 2014 at 11:05:47AM +0200, Frans Klaver wrote: > > > > The new version is applied, built and tested with some actual hardware > > on 3.17-rc3. > > Good. Both patches applied now. Thanks again, Frans -- To unsubscribe

Re: [PATCH resend 2/2] usb: serial: xsens_mt: always bind to interface number 1

2014-09-04 Thread Johan Hovold
On Thu, Sep 04, 2014 at 11:05:47AM +0200, Frans Klaver wrote: > On Thu, Sep 04, 2014 at 10:15:22AM +0200, Johan Hovold wrote: > > On Thu, Sep 04, 2014 at 09:12:05AM +0200, Frans Klaver wrote: > > > > > > static int xsens_mt_probe(struct usb_serial *serial, > > > >

Re: [PATCH resend 2/2] usb: serial: xsens_mt: always bind to interface number 1

2014-09-04 Thread Frans Klaver
On Thu, Sep 04, 2014 at 10:15:22AM +0200, Johan Hovold wrote: > On Thu, Sep 04, 2014 at 09:12:05AM +0200, Frans Klaver wrote: > > > > static int xsens_mt_probe(struct usb_serial *serial, > > > const struct usb_device_id *id) > > > { > > > - if (!has_

Re: [PATCH resend 2/2] usb: serial: xsens_mt: always bind to interface number 1

2014-09-04 Thread Johan Hovold
On Thu, Sep 04, 2014 at 09:12:05AM +0200, Frans Klaver wrote: > > static int xsens_mt_probe(struct usb_serial *serial, > > const struct usb_device_id *id) > > { > > - if (!has_required_endpoints(serial->interface->cur_altsetting)) > > -

Re: [PATCH resend 2/2] usb: serial: xsens_mt: always bind to interface number 1

2014-09-04 Thread Frans Klaver
Johan, I noticed I submitted an error here. Will resend later today. On Mon, Sep 1, 2014 at 11:39 AM, Frans Klaver wrote: > 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 fin

[PATCH resend 2/2] usb: serial: xsens_mt: always bind to interface number 1

2014-09-01 Thread Frans Klaver
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. Si