Thread (8 messages) read the whole thread 8 messages, 3 authors, 5d ago

Re: [PATCH 2/3] usb: quirks: Add ShanWan gamepad to quirk list

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2026-07-26 13:29:18
Also in: linux-usb

On Sun, Jul 26, 2026 at 06:50:39PM +0530, Ishaan Dandekar wrote:
The ShanWan Wireless Gamepad (dongle ID 2563:0575) crashes with a -71 EPROTO error during standard enumeration because it expects a 255-byte initial configuration request. Add this device to the quirk list to use the USB_QUIRK_WINDOWS_CONFIG_REQ_SIZE flag.
Didn't checkpath complain about this line being too long?  Please wrap
at 72 columns.
quoted hunk ↗ jump to hunk
Signed-off-by: Ishaan Dandekar <redacted>
---
 drivers/usb/core/quirks.c | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
index f5a60ccf2..97b1cdf0e 100644
--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -592,6 +592,9 @@ static const struct usb_device_id usb_quirk_list[] = {
 	{ USB_DEVICE(0x2386, 0x3119), .driver_info = USB_QUIRK_NO_LPM },
 
 	{ USB_DEVICE(0x2386, 0x350e), .driver_info = USB_QUIRK_NO_LPM },
+	
checkpatch should have also caught the trailing whitespace here :(

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help