From: Felipe Balbi Date: Thu, 8 Sep 2011 14:41:00 +0000 (+0300) Subject: usb: dwc3: define ScaleDown macro helper X-Git-Tag: firefly_0821_release~3680^2~4327^2~148^2~13 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f78d32e79ea3218da34e78ccca4eb4de14f2512d;p=firefly-linux-kernel-4.4.55.git usb: dwc3: define ScaleDown macro helper We must ensure that those bits aren't set as they should only be used in simulation. Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index e149f570437a..92673fd5314d 100644 --- a/drivers/usb/dwc3/core.h +++ b/drivers/usb/dwc3/core.h @@ -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 */