Skip to content

Commit

Permalink
usb: Correction to c67x00 TD data length mask
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dave Tubbs authored and Greg Kroah-Hartman committed Mar 7, 2013
1 parent 1c20888 commit 5df3c35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/c67x00/c67x00-sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5df3c35

Please sign in to comment.