Skip to content

Commit

Permalink
usb: dwc3: define ScaleDown macro helper
Browse files Browse the repository at this point in the history
We must ensure that those bits aren't set as
they should only be used in simulation.

Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Felipe Balbi committed Sep 9, 2011
1 parent f4aadbe commit f78d32e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/usb/dwc3/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@
#define DWC3_GCTL_PRTCAP_OTG 3

#define DWC3_GCTL_CORESOFTRESET (1 << 11)
#define DWC3_GCTL_SCALEDOWN(n) (n << 4)
#define DWC3_GCTL_DISSCRAMBLE (1 << 3)

/* Global USB2 PHY Configuration Register */
Expand Down

0 comments on commit f78d32e

Please sign in to comment.