USB: simple: add Google simple serial SubClass support
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 USB: simple: add Google simple serial SubClass support
Add support for Google devices that export simple serial interfaces using the vendor specific SubClass/Protocol pair 0x50/0x01.
Signed-off-by Anton Staaf <[email protected]>
--- drivers/usb/serial/usb-serial-simple.c | 10 ++++++++++ 1 file changed, 10 insertions(+)
drivers/usb/serial/usb-serial-simple.c +10 -0
@@ -91,6 +91,14 @@ DEVICE(suunto, SUUNTO_IDS); { USB_DEVICE(0x908, 0x0004) }DEVICE (siemens_mpi,SIEMENS_IDS ); +/* Google Serial USB SubClass */ +#define GOOGLE_IDS () \ + { USB_VENDOR_AND_INTERFACE_INFO(0x18d1, \ + USB_CLASS_VENDOR_SPEC, \ + 0x50, \ + 0x01) } +DEVICE (google,GOOGLE_IDS ); +/* All of the above structures mushed into two lists */ static struct usb_serial_driver *const serial_drivers[] = { &carelink_device,
@@ -103,6 +111,7 @@ static struct usb_serial_driver * const serial_drivers[] = { &hp4x_device, &suunto_device, &siemens_mpi_device, + &google_device, NULL };
@@ -117,6 +126,7 @@ static const struct usb_device_id id_table[] = {HP4X_IDS (),SUUNTO_IDS (),SIEMENS_IDS (), +GOOGLE_IDS (), { }, };MODULE_DEVICE_TABLE (usb, id_table);
Signature · 1 line
2.1.0.rc2.206.gedb03e5
Quoted 5 lines · Anton Staaf
Add support for Google devices that export simple serial interfaces using the vendor specific SubClass/Protocol pair 0x50/0x01.
Signed-off-by Anton Staaf <[email protected]>
Reviewed-by Benson Leung <[email protected]>
Signature · 3 lines
Benson Leung Software Engineer, Chrom* OS [email protected]
Quoted 8 lines · Benson Leung
Quoted 5 lines · Anton Staaf
Add support for Google devices that export simple serial interfaces using the vendor specific SubClass/Protocol pair 0x50/0x01.
Signed-off-by Anton Staaf <[email protected]>Reviewed-by Benson Leung <[email protected]>
Applied to next, thanks.
Johan