Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'usb-serial-6.16-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-next

Johan writes:

USB serial updates for 6.16-rc1

Here are the USB serial updates for 6.16-rc1, including:

- fix of an incorrect const cast
- removal of a bogus read urb sanity check
- support for a couple of new pl2303 device types

All have been in linux-next with no reported issues.

* tag 'usb-serial-6.16-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial:
USB: serial: pl2303: add new chip PL2303GC-Q20 and PL2303GT-2AB
USB: serial: bus: fix const issue in usb_serial_device_match()
USB: serial: ti_usb_3410_5052: drop bogus read urb check

+3 -6
+1 -1
drivers/usb/serial/bus.c
··· 17 17 const struct device_driver *drv) 18 18 { 19 19 const struct usb_serial_port *port = to_usb_serial_port(dev); 20 - struct usb_serial_driver *driver = to_usb_serial_driver(drv); 20 + const struct usb_serial_driver *driver = to_usb_serial_driver(drv); 21 21 22 22 /* 23 23 * drivers are already assigned to ports in serial_probe so it's
+2
drivers/usb/serial/pl2303.c
··· 458 458 case 0x605: 459 459 case 0x700: /* GR */ 460 460 case 0x705: 461 + case 0x905: /* GT-2AB */ 462 + case 0x1005: /* GC-Q20 */ 461 463 return TYPE_HXN; 462 464 } 463 465 break;
-5
drivers/usb/serial/ti_usb_3410_5052.c
··· 729 729 730 730 /* start read urb */ 731 731 urb = port->read_urb; 732 - if (!urb) { 733 - dev_err(&port->dev, "%s - no read urb\n", __func__); 734 - status = -EINVAL; 735 - goto unlink_int_urb; 736 - } 737 732 tport->tp_read_urb_state = TI_READ_URB_RUNNING; 738 733 urb->context = tport; 739 734 status = usb_submit_urb(urb, GFP_KERNEL);