]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d6267948909ddd59dea6ccf1d2357ac13e9c433
tree88b144ffda0d920f500cee80983352a319507828
parent0d8eaec2090c24ce477844949485cf8fa7283759
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