Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 04eb41ec authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

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



commit 14ff7460bb58662d86aa50298943cc7d25532e28 upstream.

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

Cc: stable <stable@kernel.org>
Fixes: 17a82716587e ("USB: iowarrior: fix up report size handling for some devices")
Reported-by: default avatarChristoph Jung <jung@codemercs.com>
Link: https://lore.kernel.org/r/20230120135330.3842518-1-gregkh@linuxfoundation.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7ebb3eca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -817,7 +817,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;
		}
	}