diff options
author | Harrison Metzger <harrisonmetz@gmail.com> | 2012-01-15 08:43:24 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-03 09:19:00 -0800 |
commit | a607902f65e6d425f8d115ac891a3c89f3b36d33 (patch) | |
tree | e9b497114da62ba2e37e8f31ca2d222fd59f324c | |
parent | 3fc6b6671559d947f3f9a6d8829d3481a17934f4 (diff) | |
download | lwn-a607902f65e6d425f8d115ac891a3c89f3b36d33.tar.gz lwn-a607902f65e6d425f8d115ac891a3c89f3b36d33.zip |
USB: usbsevseg: fix max length
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>
-rw-r--r-- | drivers/usb/misc/usbsevseg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/misc/usbsevseg.c b/drivers/usb/misc/usbsevseg.c index 417b8f207e8b..59689fa2f7c1 100644 --- a/drivers/usb/misc/usbsevseg.c +++ b/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[] = { |