mirror of
https://github.com/torvalds/linux.git
synced 2024-11-05 03:21:32 +00:00
[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>
This commit is contained in:
parent
a8310f3b8b
commit
b8f4c1d667
@ -813,7 +813,9 @@ static void pl2303_update_line_status(struct usb_serial_port *port,
|
||||
u8 length = UART_STATE;
|
||||
|
||||
if ((le16_to_cpu(port->serial->dev->descriptor.idVendor) == SIEMENS_VENDOR_ID) &&
|
||||
(le16_to_cpu(port->serial->dev->descriptor.idProduct) == SIEMENS_PRODUCT_ID_X65)) {
|
||||
(le16_to_cpu(port->serial->dev->descriptor.idProduct) == SIEMENS_PRODUCT_ID_X65 ||
|
||||
le16_to_cpu(port->serial->dev->descriptor.idProduct) == SIEMENS_PRODUCT_ID_SX1 ||
|
||||
le16_to_cpu(port->serial->dev->descriptor.idProduct) == SIEMENS_PRODUCT_ID_X75)) {
|
||||
length = 1;
|
||||
status_idx = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user