Re: [PATCH 2/3] usb: quirks: Add ShanWan gamepad to quirk list
Greg KH <[email protected]>
| Newsgroups | org.kernel.vger.linux-input,org.kernel.vger.linux-usb |
|---|---|
| Message-ID | <2026072633-unafraid-pastime-fe5f@gregkh> |
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. > > Signed-off-by: Ishaan Dandekar <[email protected]> > --- > 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