Skip to contentSkip to conversation

USB: misc: iowarrior: fix up header size for USB_DEVICE_ID_CODEMERCS_IOW100

PATCH New Greg Kroah-Hartman 1 participant 1 message Jan 20, 2023 USB

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

PATCH 1/1 USB: misc: iowarrior: fix up header size for USB_DEVICE_ID_CODEMERCS_IOW100

The USB_DEVICE_ID_CODEMERCS_IOW100 header size was incorrect, it should be 12, not 13.

Cc stable <[email protected]>
Fixes 17a82716587e ("USB: iowarrior: fix up report size handling for some devices")
---
 drivers/usb/misc/iowarrior.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/misc/iowarrior.c +1 -1
index f9427a67789c..1e3df27bab58 100644
@@ -814,7 +814,7 @@ static int iowarrior_probe(struct usb_interface *interface,
 			break;
 
 		case USB_DEVICE_ID_CODEMERCS_IOW100:
-			dev->report_size = 13;
+			dev->report_size = 12;
 			break;
 		}
 	}
Signature · 1 line
2.39.1