Skip to content

Commit d99e42c

Browse files
committed
Merge tag 'usb-serial-6.9-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-next
Johan writes: USB-serial updates for 6.9-rc1 Here are the USB-serial updates for 6.9-rc1, including: - new device ids - removal of some redundant assignments All have been in linux-next with no reported issues. * tag 'usb-serial-6.9-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial: USB: serial: cp210x: add pid/vid for TDK NC0110013M and MM0110113M USB: serial: keyspan: remove redundant assignment to pointer data USB: serial: ftdi_sio: remove redundant assignment to variable cflag USB: serial: oti6858: remove redundant assignment to variable divisor USB: serial: option: add MeiG Smart SLM320 product USB: serial: cp210x: add ID for MGP Instruments PDS100 USB: serial: add device ID for VeriFone adapter USB: serial: ftdi_sio: add support for GMC Z216C Adapter IR-USB
2 parents 6005568 + b1a8da9 commit d99e42c

File tree

6 files changed

+19
-3
lines changed

6 files changed

+19
-3
lines changed

drivers/usb/serial/cp210x.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ static const struct usb_device_id id_table[] = {
5656
{ USB_DEVICE(0x0471, 0x066A) }, /* AKTAKOM ACE-1001 cable */
5757
{ USB_DEVICE(0x0489, 0xE000) }, /* Pirelli Broadband S.p.A, DP-L10 SIP/GSM Mobile */
5858
{ USB_DEVICE(0x0489, 0xE003) }, /* Pirelli Broadband S.p.A, DP-L10 SIP/GSM Mobile */
59+
{ USB_DEVICE(0x04BF, 0x1301) }, /* TDK Corporation NC0110013M - Network Controller */
60+
{ USB_DEVICE(0x04BF, 0x1303) }, /* TDK Corporation MM0110113M - i3 Micro Module */
5961
{ USB_DEVICE(0x0745, 0x1000) }, /* CipherLab USB CCD Barcode Scanner 1000 */
6062
{ USB_DEVICE(0x0846, 0x1100) }, /* NetGear Managed Switch M4100 series, M5300 series, M7100 series */
6163
{ USB_DEVICE(0x08e6, 0x5501) }, /* Gemalto Prox-PU/CU contactless smartcard reader */
@@ -144,6 +146,7 @@ static const struct usb_device_id id_table[] = {
144146
{ USB_DEVICE(0x10C4, 0x85EA) }, /* AC-Services IBUS-IF */
145147
{ USB_DEVICE(0x10C4, 0x85EB) }, /* AC-Services CIS-IBUS */
146148
{ USB_DEVICE(0x10C4, 0x85F8) }, /* Virtenio Preon32 */
149+
{ USB_DEVICE(0x10C4, 0x863C) }, /* MGP Instruments PDS100 */
147150
{ USB_DEVICE(0x10C4, 0x8664) }, /* AC-Services CAN-IF */
148151
{ USB_DEVICE(0x10C4, 0x8665) }, /* AC-Services OBD-IF */
149152
{ USB_DEVICE(0x10C4, 0x87ED) }, /* IMST USB-Stick for Smart Meter */
@@ -177,6 +180,7 @@ static const struct usb_device_id id_table[] = {
177180
{ USB_DEVICE(0x10C4, 0xF004) }, /* Elan Digital Systems USBcount50 */
178181
{ USB_DEVICE(0x10C5, 0xEA61) }, /* Silicon Labs MobiData GPRS USB Modem */
179182
{ USB_DEVICE(0x10CE, 0xEA6A) }, /* Silicon Labs MobiData GPRS USB Modem 100EU */
183+
{ USB_DEVICE(0x11CA, 0x0212) }, /* Verifone USB to Printer (UART, CP2102) */
180184
{ USB_DEVICE(0x12B8, 0xEC60) }, /* Link G4 ECU */
181185
{ USB_DEVICE(0x12B8, 0xEC62) }, /* Link G4+ ECU */
182186
{ USB_DEVICE(0x13AD, 0x9999) }, /* Baltech card reader */

drivers/usb/serial/ftdi_sio.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1077,6 +1077,8 @@ static const struct usb_device_id id_table_combined[] = {
10771077
.driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
10781078
{ USB_DEVICE(FTDI_VID, FTDI_FALCONIA_JTAG_UNBUF_PID),
10791079
.driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
1080+
/* GMC devices */
1081+
{ USB_DEVICE(GMC_VID, GMC_Z216C_PID) },
10801082
{ } /* Terminating entry */
10811083
};
10821084

@@ -2610,7 +2612,7 @@ static void ftdi_set_termios(struct tty_struct *tty,
26102612
struct device *ddev = &port->dev;
26112613
struct ftdi_private *priv = usb_get_serial_port_data(port);
26122614
struct ktermios *termios = &tty->termios;
2613-
unsigned int cflag = termios->c_cflag;
2615+
unsigned int cflag;
26142616
u16 value, index;
26152617
int ret;
26162618

drivers/usb/serial/ftdi_sio_ids.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1606,3 +1606,9 @@
16061606
#define UBLOX_VID 0x1546
16071607
#define UBLOX_C099F9P_ZED_PID 0x0502
16081608
#define UBLOX_C099F9P_ODIN_PID 0x0503
1609+
1610+
/*
1611+
* GMC devices
1612+
*/
1613+
#define GMC_VID 0x1cd7
1614+
#define GMC_Z216C_PID 0x0217 /* GMC Z216C Adapter IR-USB */

drivers/usb/serial/keyspan.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,6 @@ static void usa28_indat_callback(struct urb *urb)
921921

922922
port = urb->context;
923923
p_priv = usb_get_serial_port_data(port);
924-
data = urb->transfer_buffer;
925924

926925
if (urb != p_priv->in_urbs[p_priv->in_flip])
927926
return;

drivers/usb/serial/option.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,11 @@ static void option_instat_callback(struct urb *urb);
613613
/* Luat Air72*U series based on UNISOC UIS8910 uses UNISOC's vendor ID */
614614
#define LUAT_PRODUCT_AIR720U 0x4e00
615615

616+
/* MeiG Smart Technology products */
617+
#define MEIGSMART_VENDOR_ID 0x2dee
618+
/* MeiG Smart SLM320 based on UNISOC UIS8910 */
619+
#define MEIGSMART_PRODUCT_SLM320 0x4d41
620+
616621
/* Device flags */
617622

618623
/* Highest interface number which can be used with NCTRL() and RSVD() */
@@ -2282,6 +2287,7 @@ static const struct usb_device_id option_ids[] = {
22822287
{ USB_DEVICE_AND_INTERFACE_INFO(SIERRA_VENDOR_ID, SIERRA_PRODUCT_EM9191, 0xff, 0, 0) },
22832288
{ USB_DEVICE_AND_INTERFACE_INFO(UNISOC_VENDOR_ID, TOZED_PRODUCT_LT70C, 0xff, 0, 0) },
22842289
{ USB_DEVICE_AND_INTERFACE_INFO(UNISOC_VENDOR_ID, LUAT_PRODUCT_AIR720U, 0xff, 0, 0) },
2290+
{ USB_DEVICE_AND_INTERFACE_INFO(MEIGSMART_VENDOR_ID, MEIGSMART_PRODUCT_SLM320, 0xff, 0, 0) },
22852291
{ } /* Terminating entry */
22862292
};
22872293
MODULE_DEVICE_TABLE(usb, option_ids);

drivers/usb/serial/oti6858.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,6 @@ static void oti6858_set_termios(struct tty_struct *tty,
409409
cflag = tty->termios.c_cflag;
410410

411411
spin_lock_irqsave(&priv->lock, flags);
412-
divisor = priv->pending_setup.divisor;
413412
frame_fmt = priv->pending_setup.frame_fmt;
414413
control = priv->pending_setup.control;
415414
spin_unlock_irqrestore(&priv->lock, flags);

0 commit comments

Comments
 (0)