summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc2/hw.h
diff options
context:
space:
mode:
authorMian Yousaf Kaukab <yousaf.kaukab@intel.com>2015-01-30 09:09:36 +0100
committerFelipe Balbi <balbi@ti.com>2015-01-30 10:34:11 -0600
commitf889f23d1c15fa73edaecc2cbce35a441eb52581 (patch)
tree48dd330543840c3a445636de369ba35d5f0f44dd /drivers/usb/dwc2/hw.h
parentfa4a8d722bc2f0b1887ea929874a0f6754eda8b4 (diff)
usb: dwc2: gadget: replace constants with defines
Defines are more readable and searchable than constants. Tested-by: Robert Baldyga <r.baldyga@samsung.com> Acked-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc2/hw.h')
-rw-r--r--drivers/usb/dwc2/hw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc2/hw.h b/drivers/usb/dwc2/hw.h
index d018ebef15cc..d0a5ed8fa15a 100644
--- a/drivers/usb/dwc2/hw.h
+++ b/drivers/usb/dwc2/hw.h
@@ -294,6 +294,7 @@
#define GHWCFG4_NUM_IN_EPS_MASK (0xf << 26)
#define GHWCFG4_NUM_IN_EPS_SHIFT 26
#define GHWCFG4_DED_FIFO_EN (1 << 25)
+#define GHWCFG4_DED_FIFO_SHIFT 25
#define GHWCFG4_SESSION_END_FILT_EN (1 << 24)
#define GHWCFG4_B_VALID_FILT_EN (1 << 23)
#define GHWCFG4_A_VALID_FILT_EN (1 << 22)