diff options
author | Pratyush Anand <pratyush.anand@st.com> | 2012-05-21 07:16:26 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-06-04 15:17:20 (GMT) |
commit | 389f2828bb2a5f2acde9bdeffde02743684c1d86 (patch) | |
tree | e52796a5423edc6b8e42dab48640548f47db5846 /drivers/usb/dwc3 | |
parent | 206dd69a62a06197b308fa0decfd0b649fcc2811 (diff) | |
download | linux-389f2828bb2a5f2acde9bdeffde02743684c1d86.tar.xz |
USB: DWC3: Correct DWC3_TRB_SIZE_TRBSTS definition
Correct define for DWC3_TRB_SIZE_TRBSTS.
Signed-off-by: Pratyush Anand <pratyush.anand@st.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r-- | drivers/usb/dwc3/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index 4d5c63d..ce43b1f 100644 --- a/drivers/usb/dwc3/core.h +++ b/drivers/usb/dwc3/core.h @@ -495,7 +495,7 @@ enum dwc3_device_state { #define DWC3_TRB_SIZE_MASK (0x00ffffff) #define DWC3_TRB_SIZE_LENGTH(n) ((n) & DWC3_TRB_SIZE_MASK) #define DWC3_TRB_SIZE_PCM1(n) (((n) & 0x03) << 24) -#define DWC3_TRB_SIZE_TRBSTS(n) (((n) & (0x0f << 28) >> 28)) +#define DWC3_TRB_SIZE_TRBSTS(n) (((n) & (0x0f << 28)) >> 28) #define DWC3_TRBSTS_OK 0 #define DWC3_TRBSTS_MISSED_ISOC 1 |