USB: spcp8x5: reimplement device type detection
authorJohan Hovold <jhovold@gmail.com>
Thu, 21 Mar 2013 11:37:29 +0000 (12:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 20:52:28 +0000 (13:52 -0700)
commit4d63143db1426342f186cfe258db73571bf57897
tree88b144ffda0d920f500cee80983352a319507828
parent0a967f62e6623a2a7bb3a5707352b6667c0c649e
USB: spcp8x5: reimplement device type detection

Reimplement device type detection using the device id table and quirks.

Device type was used to detect one device type which did not support to
control functions. Add quirks to the device table and store them in the
private port data at probe instead.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/spcp8x5.c