USB: serial: pl2303: add new PID to support PL256X (TYPE_MP)
Subsystems (2)
PATCH 2/2 USB: serial: pl2303: add new PID to support PL256X (TYPE_MP)
Add support for the PL256X (TYPE_MP) device by adding its PID. Also fix an unused variable warning in pl2303_update_reg() reported by the kernel test robot.
---
v2:
- Remove unused 'struct device *dev' variable in pl2303_update_reg() to fix build warning.
--- drivers/usb/serial/pl2303.c | 1 - 1 file changed, 1 deletion(-)
drivers/usb/serial/pl2303.c +0 -1
@@ -347,7 +347,6 @@ static int pl2303_vendor_write(struct usb_serial *serial, u16 value, u16 index)static int pl2303_update_reg (struct usb_serial *serial,u8 reg,u8 mask,u8 val) {struct pl2303_serial_private *spriv =usb_get_serial_data (serial); -struct device *dev = &serial->interface->dev;int ret =0 ;u8 *buf;
Signature · 1 line
2.51.0
Greg KH
maintainerQuoted 30 lines · Charles Yeh
Add support for the PL256X (
TYPE_MP) device by adding its PID. Also fix an unused variable warning inpl2303_update_reg()reported by the kernel test robot.Reported-by kernel test robot <[email protected]>Signed-off-by Charles Yeh <[email protected]>---
v2:
- Remove unused 'struct device *dev' variable inpl2303_update_reg()to fix build warning.--- drivers/usb/serial/pl2303.c | 1 - 1 file changed, 1 deletion(-)drivers/usb/serial/pl2303.c +0
-1@@ -347,7 +347,6 @@ static int pl2303_vendor_write(struct usb_serial *serial, u16 value, u16 index)static int pl2303_update_reg (struct usb_serial *serial,u8 reg,u8 mask,u8 val) {struct pl2303_serial_private *spriv =usb_get_serial_data (serial); -struct device *dev = &serial->interface->dev;int ret =0 ;u8 *buf;Signature · 1 line
2.51.0
Please don't add a bug and then fix it up in a later patch, just redo the original patch and send it as a v2 as the documentation describes how to do.
thanks,
greg k-h
Quoted 2 lines
just redo the original patch and send it as a v2 as the documentation describes how to do.
Thanks for the guidance.
I have updated the original patch and submitted it as v2 as requested.
Thanks,
Charles.
Hi Sir,
I am just following up on this v2 patch.
Please let me know if you have any comments or if there is anything else I need to update.
Thank you for your time.
Charles
Charles Yeh <[email protected]> 於 2026年3月27日週五 上午10:29寫道:
Quoted 9 lines
Quoted 3 lines
just redo the original patch and send it as a v2 as the documentation describes how to do.
Thanks for the guidance.
I have updated the original patch and submitted it as v2 as requested.Thanks,
Charles.
Johan Hovold
maintainerQuoted 3 lines · Charles Yeh
I am just following up on this v2 patch.
Please let me know if you have any comments or if there is anything else I need to update.
I started reviewing it last week but got side-tracked. It's still in my queue.
Johan