Browse Source

USB: usbsevseg: fix max length

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>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Harrison Metzger 13 years ago
parent
commit
1097ccebe6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/usb/misc/usbsevseg.c

+ 1 - 1
drivers/usb/misc/usbsevseg.c

@@ -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 const struct usb_device_id id_table[] = {