* [PATCH] USB: serial: pl2303: add device id for HP LM930 Display
@ 2022-04-25 7:24 Scott Chen
2022-04-25 8:16 ` Greg Kroah-Hartman
2022-04-25 12:15 ` Sergey Shtylyov
0 siblings, 2 replies; 3+ messages in thread
From: Scott Chen @ 2022-04-25 7:24 UTC (permalink / raw)
Cc: young, roger, Scott Chen, Johan Hovold, Greg Kroah-Hartman,
linux-usb, linux-kernel
Add the device id for the HPLM930Display which is a PL2303GC based device
Signed-off-by: Scott Chen <scott@labau.com.tw>
---
drivers/usb/serial/pl2303.c | 1 +
drivers/usb/serial/pl2303.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c
index 88b284d61681..1d878d05a658 100644
--- a/drivers/usb/serial/pl2303.c
+++ b/drivers/usb/serial/pl2303.c
@@ -106,6 +106,7 @@ static const struct usb_device_id id_table[] = {
{ USB_DEVICE(HP_VENDOR_ID, HP_LCM220_PRODUCT_ID) },
{ USB_DEVICE(HP_VENDOR_ID, HP_LCM960_PRODUCT_ID) },
{ USB_DEVICE(HP_VENDOR_ID, HP_LM920_PRODUCT_ID) },
+ { USB_DEVICE(HP_VENDOR_ID, HP_LM930_PRODUCT_ID) },
{ USB_DEVICE(HP_VENDOR_ID, HP_LM940_PRODUCT_ID) },
{ USB_DEVICE(HP_VENDOR_ID, HP_TD620_PRODUCT_ID) },
{ USB_DEVICE(CRESSI_VENDOR_ID, CRESSI_EDY_PRODUCT_ID) },
diff --git a/drivers/usb/serial/pl2303.h b/drivers/usb/serial/pl2303.h
index c5406452b774..9d8102639e16 100644
--- a/drivers/usb/serial/pl2303.h
+++ b/drivers/usb/serial/pl2303.h
@@ -135,6 +135,7 @@
#define HP_TD620_PRODUCT_ID 0x0956
#define HP_LD960_PRODUCT_ID 0x0b39
#define HP_LD381_PRODUCT_ID 0x0f7f
+#define HP_LM930_PRODUCT_ID 0x0f9b
#define HP_LCM220_PRODUCT_ID 0x3139
#define HP_LCM960_PRODUCT_ID 0x3239
#define HP_LD220_PRODUCT_ID 0x3524
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] USB: serial: pl2303: add device id for HP LM930 Display
2022-04-25 7:24 [PATCH] USB: serial: pl2303: add device id for HP LM930 Display Scott Chen
@ 2022-04-25 8:16 ` Greg Kroah-Hartman
2022-04-25 12:15 ` Sergey Shtylyov
1 sibling, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2022-04-25 8:16 UTC (permalink / raw)
To: Scott Chen; +Cc: young, roger, Johan Hovold, linux-usb, linux-kernel
On Mon, Apr 25, 2022 at 03:24:52PM +0800, Scott Chen wrote:
> Add the device id for the HPLM930Display which is a PL2303GC based device
>
> Signed-off-by: Scott Chen <scott@labau.com.tw>
> ---
> drivers/usb/serial/pl2303.c | 1 +
> drivers/usb/serial/pl2303.h | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c
> index 88b284d61681..1d878d05a658 100644
> --- a/drivers/usb/serial/pl2303.c
> +++ b/drivers/usb/serial/pl2303.c
> @@ -106,6 +106,7 @@ static const struct usb_device_id id_table[] = {
> { USB_DEVICE(HP_VENDOR_ID, HP_LCM220_PRODUCT_ID) },
> { USB_DEVICE(HP_VENDOR_ID, HP_LCM960_PRODUCT_ID) },
> { USB_DEVICE(HP_VENDOR_ID, HP_LM920_PRODUCT_ID) },
> + { USB_DEVICE(HP_VENDOR_ID, HP_LM930_PRODUCT_ID) },
> { USB_DEVICE(HP_VENDOR_ID, HP_LM940_PRODUCT_ID) },
> { USB_DEVICE(HP_VENDOR_ID, HP_TD620_PRODUCT_ID) },
> { USB_DEVICE(CRESSI_VENDOR_ID, CRESSI_EDY_PRODUCT_ID) },
> diff --git a/drivers/usb/serial/pl2303.h b/drivers/usb/serial/pl2303.h
> index c5406452b774..9d8102639e16 100644
> --- a/drivers/usb/serial/pl2303.h
> +++ b/drivers/usb/serial/pl2303.h
> @@ -135,6 +135,7 @@
> #define HP_TD620_PRODUCT_ID 0x0956
> #define HP_LD960_PRODUCT_ID 0x0b39
> #define HP_LD381_PRODUCT_ID 0x0f7f
> +#define HP_LM930_PRODUCT_ID 0x0f9b
Please use a tab here too.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] USB: serial: pl2303: add device id for HP LM930 Display
2022-04-25 7:24 [PATCH] USB: serial: pl2303: add device id for HP LM930 Display Scott Chen
2022-04-25 8:16 ` Greg Kroah-Hartman
@ 2022-04-25 12:15 ` Sergey Shtylyov
1 sibling, 0 replies; 3+ messages in thread
From: Sergey Shtylyov @ 2022-04-25 12:15 UTC (permalink / raw)
To: Scott Chen
Cc: young, roger, Johan Hovold, Greg Kroah-Hartman, linux-usb, linux-kernel
Hello!
On 4/25/22 10:24 AM, Scott Chen wrote:
> Add the device id for the HPLM930Display which is a PL2303GC based device
>
> Signed-off-by: Scott Chen <scott@labau.com.tw>
[...]
> diff --git a/drivers/usb/serial/pl2303.h b/drivers/usb/serial/pl2303.h
> index c5406452b774..9d8102639e16 100644
> --- a/drivers/usb/serial/pl2303.h
> +++ b/drivers/usb/serial/pl2303.h
> @@ -135,6 +135,7 @@
> #define HP_TD620_PRODUCT_ID 0x0956
> #define HP_LD960_PRODUCT_ID 0x0b39
> #define HP_LD381_PRODUCT_ID 0x0f7f
> +#define HP_LM930_PRODUCT_ID 0x0f9b
Indent with a tab please, like the entries above and below.
> #define HP_LCM220_PRODUCT_ID 0x3139
> #define HP_LCM960_PRODUCT_ID 0x3239
> #define HP_LD220_PRODUCT_ID 0x3524
MBR, Sergey
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-04-25 12:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-25 7:24 [PATCH] USB: serial: pl2303: add device id for HP LM930 Display Scott Chen
2022-04-25 8:16 ` Greg Kroah-Hartman
2022-04-25 12:15 ` Sergey Shtylyov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.