diff options
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r-- | drivers/usb/serial/cp2101.c | 5 | ||||
-rw-r--r-- | drivers/usb/serial/cypress_m8.c | 3 | ||||
-rw-r--r-- | drivers/usb/serial/ftdi_sio.c | 2 | ||||
-rw-r--r-- | drivers/usb/serial/pl2303.c | 4 | ||||
-rw-r--r-- | drivers/usb/serial/pl2303.h | 4 |
5 files changed, 12 insertions, 6 deletions
diff --git a/drivers/usb/serial/cp2101.c b/drivers/usb/serial/cp2101.c index 4ace9964fc6b..97c78c21e8d1 100644 --- a/drivers/usb/serial/cp2101.c +++ b/drivers/usb/serial/cp2101.c | |||
@@ -32,7 +32,7 @@ | |||
32 | /* | 32 | /* |
33 | * Version Information | 33 | * Version Information |
34 | */ | 34 | */ |
35 | #define DRIVER_VERSION "v0.04" | 35 | #define DRIVER_VERSION "v0.05" |
36 | #define DRIVER_DESC "Silicon Labs CP2101/CP2102 RS232 serial adaptor driver" | 36 | #define DRIVER_DESC "Silicon Labs CP2101/CP2102 RS232 serial adaptor driver" |
37 | 37 | ||
38 | /* | 38 | /* |
@@ -54,8 +54,11 @@ static void cp2101_shutdown(struct usb_serial*); | |||
54 | static int debug; | 54 | static int debug; |
55 | 55 | ||
56 | static struct usb_device_id id_table [] = { | 56 | static struct usb_device_id id_table [] = { |
57 | { USB_DEVICE(0x0FCF, 0x1003) }, /* Dynastream ANT development board */ | ||
57 | { USB_DEVICE(0x10C4, 0xEA60) }, /* Silicon Labs factory default */ | 58 | { USB_DEVICE(0x10C4, 0xEA60) }, /* Silicon Labs factory default */ |
58 | { USB_DEVICE(0x10C4, 0x80CA) }, /* Degree Controls Inc */ | 59 | { USB_DEVICE(0x10C4, 0x80CA) }, /* Degree Controls Inc */ |
60 | { USB_DEVICE(0x10C4, 0x80F6) }, /* Suunto sports instrument */ | ||
61 | { USB_DEVICE(0x10A6, 0xAA26) }, /* Knock-off DCU-11 cable */ | ||
59 | { USB_DEVICE(0x10AB, 0x10C5) }, /* Siemens MC60 Cable */ | 62 | { USB_DEVICE(0x10AB, 0x10C5) }, /* Siemens MC60 Cable */ |
60 | { } /* Terminating Entry */ | 63 | { } /* Terminating Entry */ |
61 | }; | 64 | }; |
diff --git a/drivers/usb/serial/cypress_m8.c b/drivers/usb/serial/cypress_m8.c index 05c44ae3ed32..9ee1aaff2fcd 100644 --- a/drivers/usb/serial/cypress_m8.c +++ b/drivers/usb/serial/cypress_m8.c | |||
@@ -610,8 +610,7 @@ static void cypress_close(struct usb_serial_port *port, struct file * filp) | |||
610 | timeout = max((HZ*2560)/bps,HZ/10); | 610 | timeout = max((HZ*2560)/bps,HZ/10); |
611 | else | 611 | else |
612 | timeout = 2*HZ; | 612 | timeout = 2*HZ; |
613 | set_current_state(TASK_INTERRUPTIBLE); | 613 | schedule_timeout_interruptible(timeout); |
614 | schedule_timeout(timeout); | ||
615 | 614 | ||
616 | dbg("%s - stopping urbs", __FUNCTION__); | 615 | dbg("%s - stopping urbs", __FUNCTION__); |
617 | usb_kill_urb (port->interrupt_in_urb); | 616 | usb_kill_urb (port->interrupt_in_urb); |
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 0a6e8b474b1f..4e434cb10bb1 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
@@ -914,7 +914,7 @@ static void ftdi_determine_type(struct usb_serial_port *port) | |||
914 | unsigned interfaces; | 914 | unsigned interfaces; |
915 | 915 | ||
916 | /* Assume it is not the original SIO device for now. */ | 916 | /* Assume it is not the original SIO device for now. */ |
917 | priv->baud_base = 48000000 / 16; | 917 | priv->baud_base = 48000000 / 2; |
918 | priv->write_offset = 0; | 918 | priv->write_offset = 0; |
919 | 919 | ||
920 | version = le16_to_cpu(udev->descriptor.bcdDevice); | 920 | version = le16_to_cpu(udev->descriptor.bcdDevice); |
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c index 461474176cfb..3cf245bdda54 100644 --- a/drivers/usb/serial/pl2303.c +++ b/drivers/usb/serial/pl2303.c | |||
@@ -95,6 +95,7 @@ static struct usb_device_id id_table [] = { | |||
95 | { USB_DEVICE(SAMSUNG_VENDOR_ID, SAMSUNG_PRODUCT_ID) }, | 95 | { USB_DEVICE(SAMSUNG_VENDOR_ID, SAMSUNG_PRODUCT_ID) }, |
96 | { USB_DEVICE(SIEMENS_VENDOR_ID, SIEMENS_PRODUCT_ID_X65) }, | 96 | { USB_DEVICE(SIEMENS_VENDOR_ID, SIEMENS_PRODUCT_ID_X65) }, |
97 | { USB_DEVICE(SYNTECH_VENDOR_ID, SYNTECH_PRODUCT_ID) }, | 97 | { USB_DEVICE(SYNTECH_VENDOR_ID, SYNTECH_PRODUCT_ID) }, |
98 | { USB_DEVICE( NOKIA_CA42_VENDOR_ID, NOKIA_CA42_PRODUCT_ID ) }, | ||
98 | { } /* Terminating entry */ | 99 | { } /* Terminating entry */ |
99 | }; | 100 | }; |
100 | 101 | ||
@@ -652,8 +653,7 @@ static void pl2303_close (struct usb_serial_port *port, struct file *filp) | |||
652 | timeout = max((HZ*2560)/bps,HZ/10); | 653 | timeout = max((HZ*2560)/bps,HZ/10); |
653 | else | 654 | else |
654 | timeout = 2*HZ; | 655 | timeout = 2*HZ; |
655 | set_current_state(TASK_INTERRUPTIBLE); | 656 | schedule_timeout_interruptible(timeout); |
656 | schedule_timeout(timeout); | ||
657 | 657 | ||
658 | /* shutdown our urbs */ | 658 | /* shutdown our urbs */ |
659 | dbg("%s - shutting down urbs", __FUNCTION__); | 659 | dbg("%s - shutting down urbs", __FUNCTION__); |
diff --git a/drivers/usb/serial/pl2303.h b/drivers/usb/serial/pl2303.h index b734c4003c5a..7be9644f5a03 100644 --- a/drivers/usb/serial/pl2303.h +++ b/drivers/usb/serial/pl2303.h | |||
@@ -58,3 +58,7 @@ | |||
58 | 58 | ||
59 | #define SYNTECH_VENDOR_ID 0x0745 | 59 | #define SYNTECH_VENDOR_ID 0x0745 |
60 | #define SYNTECH_PRODUCT_ID 0x0001 | 60 | #define SYNTECH_PRODUCT_ID 0x0001 |
61 | |||
62 | /* Nokia CA-42 Cable */ | ||
63 | #define NOKIA_CA42_VENDOR_ID 0x078b | ||
64 | #define NOKIA_CA42_PRODUCT_ID 0x1234 | ||