diff mbox series

USB: serial: ch341: add new Product ID

Message ID 0562cd59f06031d676dd314dbada7371@btn.sh (mailing list archive)
State New, archived
Headers show
Series USB: serial: ch341: add new Product ID | expand

Commit Message

x@btn.sh Feb. 25, 2021, 7:33 p.m. UTC
Add PID for CH340 that's found on cheap programers. They are sometimes refered to as ANU232MI like
in this one:
https://www.nordfield.com/downloads/anu232mi/ANU232MI-datasheet.pdf

The driver works flawlessly as soon as the new PID (0x9986) is added to it.

Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>
---
drivers/usb/serial/ch341.c | 1 +
1 file changed, 1 insertion(+)

Comments

Greg Kroah-Hartman Feb. 26, 2021, 7:12 a.m. UTC | #1
On Thu, Feb 25, 2021 at 07:33:14PM +0000, x@btn.sh wrote:
> Add PID for CH340 that's found on cheap programers. They are sometimes refered to as ANU232MI like
> in this one:
> https://www.nordfield.com/downloads/anu232mi/ANU232MI-datasheet.pdf
> 
> The driver works flawlessly as soon as the new PID (0x9986) is added to it.
> 
> Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>

This name doesn't match your "From:" line in your email :(

> ---
> drivers/usb/serial/ch341.c | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/usb/serial/ch341.c b/drivers/usb/serial/ch341.c
> index 28deaaec581f..f26861246f65 100644
> --- a/drivers/usb/serial/ch341.c
> +++ b/drivers/usb/serial/ch341.c
> @@ -86,6 +86,7 @@ static const struct usb_device_id id_table[] = {
> { USB_DEVICE(0x1a86, 0x7522) },
> { USB_DEVICE(0x1a86, 0x7523) },
> { USB_DEVICE(0x4348, 0x5523) },
> + { USB_DEVICE(0x9986, 0x7523) },
> { },
> };
> MODULE_DEVICE_TABLE(usb, id_table);

Your patch is corrupted and can not be applied :(

Please fix up your email client and try again.

thanks,

greg k-h
diff mbox series

Patch

diff --git a/drivers/usb/serial/ch341.c b/drivers/usb/serial/ch341.c
index 28deaaec581f..f26861246f65 100644
--- a/drivers/usb/serial/ch341.c
+++ b/drivers/usb/serial/ch341.c
@@ -86,6 +86,7 @@  static const struct usb_device_id id_table[] = {
{ USB_DEVICE(0x1a86, 0x7522) },
{ USB_DEVICE(0x1a86, 0x7523) },
{ USB_DEVICE(0x4348, 0x5523) },
+ { USB_DEVICE(0x9986, 0x7523) },
{ },
};
MODULE_DEVICE_TABLE(usb, id_table);