Re: [PATCH 2/2] hid-mcp2200 - updated hid-id.h

From: Christophe JAILLET
Date: Sun Jun 11 2023 - 15:13:42 EST


Le 11/06/2023 à 18:48, Johannes Roith a écrit :
Added Product ID for Microchip MCP2200 so the module can be compiled
correctly.

Signed-off-by: Johannes Roith <johannes@gnu-linux.rocks>

diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 5d29abac2300..b48cb8224e0d 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -912,6 +912,7 @@
#define USB_DEVICE_ID_PICK16F1454_V2 0xf2f7
#define USB_DEVICE_ID_LUXAFOR 0xf372
#define USB_DEVICE_ID_MCP2221 0x00dd
+#define USB_DEVICE_ID_MCP2221 0x00df

2 times USB_DEVICE_ID_MCP2221 with different values?
USB_DEVICE_ID_MCP2200?

Also this one should be merged with patch 1/2 or sent before the other one, otherwise 1/2 can't compile.

CJ

#define USB_VENDOR_ID_MICROSOFT 0x045e
#define USB_DEVICE_ID_SIDEWINDER_GV 0x003b