USB: 'option' driver - onda device MT503HS has wrong id
[firefly-linux-kernel-4.4.55.git] / drivers / usb / serial / option.c
index 4c9497d05d13909a2dd364206e000f1417502f1c..19f5f0ce2cc4b9641088971c551f0db85e4e0182 100644 (file)
@@ -224,7 +224,7 @@ static int  option_send_setup(struct tty_struct *tty, struct usb_serial_port *po
 #define ONDA_VENDOR_ID                         0x19d2
 #define ONDA_PRODUCT_MSA501HS                  0x0001
 #define ONDA_PRODUCT_ET502HS                   0x0002
-#define ONDA_PRODUCT_MT503HS                   0x0200
+#define ONDA_PRODUCT_MT503HS                   0x2000
 
 #define BANDRICH_VENDOR_ID                     0x1A8D
 #define BANDRICH_PRODUCT_C100_1                        0x1002
@@ -522,9 +522,9 @@ static int debug;
 /* per port private data */
 
 #define N_IN_URB 4
-#define N_OUT_URB 1
+#define N_OUT_URB 4
 #define IN_BUFLEN 4096
-#define OUT_BUFLEN 128
+#define OUT_BUFLEN 4096
 
 struct option_port_private {
        /* Input endpoints and buffer for this port */