Re: [PATCH v2] usb: serial: ftdi_sio: add Awinda Station and Dongle products

Frans Klaver
2014-10-10T09:46:00Z

On Fri, Oct 10, 2014 at 11:34:43AM +0200, Johan Hovold wrote:
> On Fri, Oct 10, 2014 at 11:32:27AM +0200, Frans Klaver wrote:
> > Add new IDs for the Xsens Awinda Station and Awinda Dongle.
> >
> > While at it, order the definitions by PID and add a logical separation
> > between devices using Xsens' VID and those using FTDI's VID.
> >
> > Cc: <stable@vger.kernel.org>
> > Signed-off-by: Frans Klaver <frans.klaver@xsens.com>
> > ---
> > drivers/usb/serial/ftdi_sio.c | 2 ++
> > drivers/usb/serial/ftdi_sio_ids.h | 6 +++++-
> > 2 files changed, 7 insertions(+), 1 deletion(-)
> >
> > diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
> > index dc72b92..e4eccb6 100644
> > --- a/drivers/usb/serial/ftdi_sio.c
> > +++ b/drivers/usb/serial/ftdi_sio.c
> > @@ -661,6 +661,8 @@ static const struct usb_device_id id_table_combined[] = {
> > { USB_DEVICE(FTDI_VID, XSENS_CONVERTER_5_PID) },
> > { USB_DEVICE(FTDI_VID, XSENS_CONVERTER_6_PID) },
> > { USB_DEVICE(FTDI_VID, XSENS_CONVERTER_7_PID) },
> > + { USB_DEVICE(XSENS_VID, XSENS_AWINDA_STATION_PID) },
> > + { USB_DEVICE(XSENS_VID, XSENS_AWINDA_DONGLE_PID) },
>
> These are still not in alphabetical order. :)

*goes and hides in the woods*

Frans