]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
USB: usbsevseg: fix max length
authorHarrison Metzger <harrisonmetz@gmail.com>
Sun, 15 Jan 2012 14:43:24 +0000 (08:43 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Feb 2012 17:26:57 +0000 (09:26 -0800)
commit 1097ccebe630170080c41df0edcf88e0626e9c75 upstream.

This changes the max length for the usb seven segment delcom device to 8
from 6. Delcom has both 6 and 8 variants and having 8 works fine with
devices which are only 6.

Signed-off-by: Harrison Metzger <harrisonmetz@gmail.com>
Signed-off-by: Stuart Pook <stuart@acm.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/usbsevseg.c

index cd8726c30444d7098230db70ef3cf0d9677c82a3..6bc0bf3b5a5507e892581aef1c6f3ec733cb0bd6 100644 (file)
@@ -24,7 +24,7 @@
 
 #define VENDOR_ID      0x0fc5
 #define PRODUCT_ID     0x1227
-#define MAXLEN         6
+#define MAXLEN         8
 
 /* table of devices that work with this driver */
 static struct usb_device_id id_table[] = {