summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Tubbs <dave.tubbs@portalislc.com>2013-02-28 00:32:53 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-07 05:31:37 +0100
commit5df3c35183d7963fb259eda2dbd096825861d740 (patch)
treedec8d66476056283fe15b45664306da5fbd08567
parentusb: Makefile: fix drivers/usb/phy/ Makefile entry (diff)
downloadlinux-5df3c35183d7963fb259eda2dbd096825861d740.tar.xz
linux-5df3c35183d7963fb259eda2dbd096825861d740.zip
usb: Correction to c67x00 TD data length mask
TD data length is 10 bits, correct TD_PORTLENMASK_DL. Reference Cypress Semiconductor BIOS User's Manual 1.2, page 3-10 Signed-off-by: Dave Tubbs <dave.tubbs@portalislc.com> Acked-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/usb/c67x00/c67x00-sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/c67x00/c67x00-sched.c b/drivers/usb/c67x00/c67x00-sched.c
index a03fbc15fa9c..aa2262f89a40 100644
--- a/drivers/usb/c67x00/c67x00-sched.c
+++ b/drivers/usb/c67x00/c67x00-sched.c
@@ -100,7 +100,7 @@ struct c67x00_urb_priv {
#define TD_PIDEP_OFFSET 0x04
#define TD_PIDEPMASK_PID 0xF0
#define TD_PIDEPMASK_EP 0x0F
-#define TD_PORTLENMASK_DL 0x02FF
+#define TD_PORTLENMASK_DL 0x03FF
#define TD_PORTLENMASK_PN 0xC000
#define TD_STATUS_OFFSET 0x07