diff options
author | Luiz Fernando Capitulino <lcapitulino@mandriva.com.br> | 2005-11-17 12:47:36 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-17 14:29:54 -0500 |
commit | b8f4c1d6674463e5824eada1ad7ec799276718bd (patch) | |
tree | 65b7b3bed0f5534eeded951a7a0852c495ec6a83 /drivers | |
parent | a8310f3b8b713e52d77c56d4b8865685ee40d02a (diff) |
[PATCH] USB: pl2303: updates pl2303_update_line_status()
Updates pl2303_update_line_status() to handle X75 and SX1 Siemens mobiles
Signed-off-by: Luiz Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/serial/pl2303.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c index f6ce321a8655..41a45a5025b2 100644 --- a/drivers/usb/serial/pl2303.c +++ b/drivers/usb/serial/pl2303.c | |||
@@ -813,7 +813,9 @@ static void pl2303_update_line_status(struct usb_serial_port *port, | |||
813 | u8 length = UART_STATE; | 813 | u8 length = UART_STATE; |
814 | 814 | ||
815 | if ((le16_to_cpu(port->serial->dev->descriptor.idVendor) == SIEMENS_VENDOR_ID) && | 815 | if ((le16_to_cpu(port->serial->dev->descriptor.idVendor) == SIEMENS_VENDOR_ID) && |
816 | (le16_to_cpu(port->serial->dev->descriptor.idProduct) == SIEMENS_PRODUCT_ID_X65)) { | 816 | (le16_to_cpu(port->serial->dev->descriptor.idProduct) == SIEMENS_PRODUCT_ID_X65 || |
817 | le16_to_cpu(port->serial->dev->descriptor.idProduct) == SIEMENS_PRODUCT_ID_SX1 || | ||
818 | le16_to_cpu(port->serial->dev->descriptor.idProduct) == SIEMENS_PRODUCT_ID_X75)) { | ||
817 | length = 1; | 819 | length = 1; |
818 | status_idx = 0; | 820 | status_idx = 0; |
819 | } | 821 | } |