USB: iowarrior: fix up report size handling for some devices
commit39dbda7fbd5fb10b0ee07e8fb8f8af7429f0ea47
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 26 Jul 2020 09:49:39 +0000 (26 11:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Aug 2020 13:32:30 +0000 (11 15:32 +0200)
tree780c93d5cc2f6072ad37404376b42a3a8878ea36
parent9c4f7a8c8d4d65df054540340806cb7a7bac6e0b
USB: iowarrior: fix up report size handling for some devices

commit 17a82716587e9d7c3b246a789add490b2b5dcab6 upstream.

In previous patches that added support for new iowarrior devices, the
handling of the report size was not done correct.

Fix that up and update the copyright date for the driver

Reworked from an original patch written by Christoph Jung.

Fixes: bab5417f5f01 ("USB: misc: iowarrior: add support for the 100 device")
Fixes: 5f6f8da2d7b5 ("USB: misc: iowarrior: add support for the 28 and 28L devices")
Fixes: 461d8deb26a7 ("USB: misc: iowarrior: add support for 2 OEMed devices")
Cc: stable <stable@kernel.org>
Reported-by: Christoph Jung <jung@codemercs.com>
Link: https://lore.kernel.org/r/20200726094939.1268978-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/iowarrior.c